Search found 17 matches
- 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: 28074
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.
- 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: 28074
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...
6733567335.
I'm currently using this on 32 bit tiffs. Which might also explain why swap wasn't working...
- 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: 28074
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...
6733567335.
I'm currently using this on 32 bit tiffs. Which might also explain why swap wasn't working...
- 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: 28074
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?
- 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: 28074
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 ...
- 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: 28074
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 ...
- 2017-04-06T18:03:29-07:00
- Forum: Bugs
- Topic: Possible Bug. -color-matrix doesn't work in mogrify
- Replies: 1
- Views: 6519
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 ...
- 2017-03-09T23:19:15-07:00
- Forum: Users
- Topic: How to handle tifs over 2 GB?
- Replies: 12
- Views: 16325
- 2017-03-08T11:44:15-07:00
- Forum: Users
- Topic: How to handle tifs over 2 GB?
- Replies: 12
- Views: 16325
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 ...
- 2017-03-07T18:41:53-07:00
- Forum: Users
- Topic: How to handle tifs over 2 GB?
- Replies: 12
- Views: 16325
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 ...
- 2017-03-02T10:07:14-07:00
- Forum: IMagick
- Topic: -depth 32 on a 16 bit tiff produces unexpected results
- Replies: 5
- Views: 20680
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 ...
- 2017-03-01T19:24:04-07:00
- Forum: IMagick
- Topic: -depth 32 on a 16 bit tiff produces unexpected results
- Replies: 5
- Views: 20680
- 2017-03-01T18:40:28-07:00
- Forum: IMagick
- Topic: -depth 32 on a 16 bit tiff produces unexpected results
- Replies: 5
- Views: 20680
-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 ...
- 2017-03-01T18:28:03-07:00
- Forum: IMagick
- Topic: Q32 HDRI build download?
- Replies: 8
- Views: 25905
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).
- 2017-03-01T17:44:46-07:00
- Forum: IMagick
- Topic: Q32 HDRI build download?
- Replies: 8
- Views: 25905