Search found 17 matches

by GiantCowFilms
2017-04-07T15:22:17-07:00
Forum: IMagick
Topic: Find Max value for a given channel and set it to a specific value.
Replies: 10
Views: 15547

Re: Find Max value for a given channel and set it to a specific value.

Sorry for not being clear, I mean 32 bits per channel. And yes, it also has an alpha, so 128 bits net total.
by GiantCowFilms
2017-04-07T08:55:49-07:00
Forum: IMagick
Topic: Find Max value for a given channel and set it to a specific value.
Replies: 10
Views: 15547

Re: Find Max value for a given channel and set it to a specific value.

Round doesn't seem to work correctly on 32 bit images, giving this output for the value 67335:
6733567335.

I'm currently using this on 32 bit tiffs. Which might also explain why swap wasn't working...
by GiantCowFilms
2017-04-07T08:55:48-07:00
Forum: IMagick
Topic: Find Max value for a given channel and set it to a specific value.
Replies: 10
Views: 15547

Re: Find Max value for a given channel and set it to a specific value.

Round doesn't seem to work correctly on 32 bit images, giving this output for the value 67335:
6733567335.

I'm currently using this on 32 bit tiffs. Which might also explain why swap wasn't working...
by GiantCowFilms
2017-04-06T20:42:14-07:00
Forum: IMagick
Topic: Find Max value for a given channel and set it to a specific value.
Replies: 10
Views: 15547

Re: Find Max value for a given channel and set it to a specific value.

Still get an error, Invalid swap index. Also, what values would I need to get that to work for any of the other channels if I needed?
by GiantCowFilms
2017-04-06T19:49:13-07:00
Forum: IMagick
Topic: Find Max value for a given channel and set it to a specific value.
Replies: 10
Views: 15547

Re: Find Max value for a given channel and set it to a specific value.

Platform: Windows 10. Version 7 something, I can always install a new one as needed. Note: I meant the max for the channel. "%[max]" will give you the greatest of the three channel. I want to use the max for the channel I'm manipulating. Also, your all-in-one command fails. I think newmax and "%[old...
by GiantCowFilms
2017-04-06T19:18:15-07:00
Forum: IMagick
Topic: Find Max value for a given channel and set it to a specific value.
Replies: 10
Views: 15547

Find Max value for a given channel and set it to a specific value.

I'm trying to figure out a way to find the largest value in a given channel, and set it to a particular value. Note that the largest value could be different to the possible maximum (for example it could only be 202 instead of 255 in an eight bit image). I would then like to assign it a particular v...
by GiantCowFilms
2017-04-06T18:03:29-07:00
Forum: Bugs
Topic: Possible Bug. -color-matrix doesn't work in mogrify
Replies: 1
Views: 4889

Possible Bug. -color-matrix doesn't work in mogrify

Produces expected results magick convert "a.tif" -color-matrix "3x3: 0.84660338, 0.28883142, -0.12901039, -0.022563746, 1.0869868, 0.015131218, -0.026749236, -0.046278112, 1.199862" "b.tif" Doesn't produce expected results magick mogrify "a.tif" -color-matrix "3x3: 0.84660338, 0.28883142, -0.1290103...
by GiantCowFilms
2017-03-09T23:19:15-07:00
Forum: Users
Topic: How to handle tifs over 2 GB?
Replies: 12
Views: 7559

Re: How to handle tifs over 2 GB?

fmw42 wrote:
2017-03-09T09:52:40-07:00
What version of libtiff? Have you tried BigTIff
I would like to try BigTiff, but have no idea how to build Imagick with it.

I'm not sure which version. The one that is bundled with the source when downloaded. I'm using Imagick 7.0.5.
by GiantCowFilms
2017-03-08T11:44:15-07:00
Forum: Users
Topic: How to handle tifs over 2 GB?
Replies: 12
Views: 7559

Re: How to handle tifs over 2 GB?

-page -12 2 That does not seem to be a proper value for -page. See http://www.imagemagick.org/script/command-line-options.php#page Yeah, that wasn't my actual value (which is generated by some code that runs the command), so I tried to give an example of a valid one from memory, but clearly that di...
by GiantCowFilms
2017-03-07T18:41:53-07:00
Forum: Users
Topic: How to handle tifs over 2 GB?
Replies: 12
Views: 7559

How to handle tifs over 2 GB?

I'm having trouble running this command on some large tifss. It appears to work on the tiffs as long as they are under 2 GB as soon as they go over it stops working. magick "C:\Path\To\Huge.tiff" -page -12+2 -background black -flatten "C:\Path\To\Huge.tiff" Running it on the huge tiff file gives the...
by GiantCowFilms
2017-03-02T10:07:14-07:00
Forum: IMagick
Topic: -depth 32 on a 16 bit tiff produces unexpected results
Replies: 5
Views: 11769

Re: -depth 32 on a 16 bit tiff produces unexpected results

I'll mention that Gimp 2.9.3 (development version) is happy to read 32-bit integer, 32-bit float and 64-bit float images made by ImageMagick, and correctly reports them as such, and shows good pictures on the screen. Microsoft Windows Photo Viewer reads 32-bit images but shows a bad picture, and fo...
by GiantCowFilms
2017-03-01T19:24:04-07:00
Forum: IMagick
Topic: -depth 32 on a 16 bit tiff produces unexpected results
Replies: 5
Views: 11769

Re: -depth 32 on a 16 bit tiff produces unexpected results

snibgo wrote:
2017-03-01T18:54:35-07:00
I think the problem is simply that some software doesn't know hot to properly read 32-bit/channel/pixel TIFFs.
When I save the 32 bit out of photoshop it reads its fine - sorry I forgot to mention that.
by GiantCowFilms
2017-03-01T18:40:28-07:00
Forum: IMagick
Topic: -depth 32 on a 16 bit tiff produces unexpected results
Replies: 5
Views: 11769

-depth 32 on a 16 bit tiff produces unexpected results

I am attempting to convert a 16 bit tiff to a 32 bit tiff using image magick. I ran magick convert in.tiff -depth 32 out.tiff. I tried this using Q16 HDRI and Q32 HDRI builds (both of version 7.0.5-0, and one build of an older version 7(something)). The resulting image opened alright in adobe photos...
by GiantCowFilms
2017-03-01T18:28:03-07:00
Forum: IMagick
Topic: Q32 HDRI build download?
Replies: 8
Views: 14705

Re: Q32 HDRI build download?

Okay, I managed to build it. That has got to be the first time I've tried building an open source application and it hasn't gone terrible long. Thanks for the instructions. (Still it would be nice if Q32 and 64 builds were made easily available).
by GiantCowFilms
2017-03-01T17:44:46-07:00
Forum: IMagick
Topic: Q32 HDRI build download?
Replies: 8
Views: 14705

Re: Q32 HDRI build download?

snibgo wrote:
2017-03-01T10:07:13-07:00
GiantCowFilms wrote:How do I tell it to be a Q32 HDRI build?
Follow the instructions. As you haven't said on what platform, I can't say which instructions.
I'm on windows 10 64 bit.