Page 1 of 1

-intent and -black-point-compensation options does not work

Posted: 2013-06-18T09:59:34-07:00
by ivants
Both -intent Perceptual and -intent Relative produces identical results. Same with -black-point-compensation.
This is IM bug or I just not understood something?

Thanks

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-18T11:01:39-07:00
by snibgo
What profile are you using? Does it have perceptual and relative intents?

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-18T11:44:00-07:00
by ivants
Yes, I try to use Photoshop Uncoated Fogra CMYK profile

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-18T12:17:45-07:00
by snibgo
What is your command? What version of IM are you using (and what platform).

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-18T13:06:44-07:00
by ivants
Windows 7
ImageMagick-6.8.5-Q16

Intent switching works, there was my mistake, but BPC still not working:
convert image.tif -intent Relative -profile Uncoated.icc -black-point-compensation OUT_NEW2_rel_bpc.tif

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-18T13:16:01-07:00
by snibgo
IM performs the operations and settings in the order you provide them. "-black-point-compensation" is a setting that changes the operation of any following "-profile", so needs to be placed before it:

Code: Select all

convert image.tif -intent Relative -black-point-compensation -profile Uncoated.icc OUT_NEW2_rel_bpc.tif

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-19T01:20:49-07:00
by ivants
Thank you for pointing me on that. Everything works fine
Sorry for false bug report

Re: -intent and -black-point-compensation options does not w

Posted: 2013-06-25T16:26:04-07:00
by anthony
I have now added a note about this into
IM Examples, File Formats, Color Profile Modification
http://www.imagemagick.org/Usage/format ... ofile_mods

Also updating the 'reference guide'.. change should appear in a couple of hours.