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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ivants
Posts: 4
Joined: 2013-06-18T09:44:33-07:00
Authentication code: 6789

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

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo »

What profile are you using? Does it have perceptual and relative intents?
snibgo's IM pages: im.snibgo.com
ivants
Posts: 4
Joined: 2013-06-18T09:44:33-07:00
Authentication code: 6789

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

Post by ivants »

Yes, I try to use Photoshop Uncoated Fogra CMYK profile
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo »

What is your command? What version of IM are you using (and what platform).
snibgo's IM pages: im.snibgo.com
ivants
Posts: 4
Joined: 2013-06-18T09:44:33-07:00
Authentication code: 6789

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

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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
snibgo's IM pages: im.snibgo.com
ivants
Posts: 4
Joined: 2013-06-18T09:44:33-07:00
Authentication code: 6789

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

Post by ivants »

Thank you for pointing me on that. Everything works fine
Sorry for false bug report
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply