Page 1 of 1

Behavior change in 6.9.1.2 - re: PDF->TIF, Chromaticity

Posted: 2016-01-19T08:49:43-07:00
by sbleon
Hi, folks! Thanks for all of your hard work on ImageMagick!!!

I'm using ImageMagick to convert PDFs to TIFFs as part of a pre-print process. Starting with version 6.9.1.2, `convert` does not generate files that my (very picky, legacy) software can use. The only correlated difference I can see with `identify` is that unusable TIFFs include Chromaticity information, while usable ones do not.

There's a full discussion here:
viewtopic.php?f=1&t=28932

You can see the behavior change pretty clearly in fmw42's post here:
viewtopic.php?f=1&t=28932&start=15#p129296

So, I'm unable to upgrade past 6.9.1 unless there's a way to prevent the Chromaticity information from being written to the TIFF file. fmw42 suggested that a -define flag might be one way to approach this. Any ideas?

Re: Behavior change in 6.9.1.2 - re: PDF->TIF, Chromaticity

Posted: 2016-01-19T14:29:38-07:00
by dlemstra
Could you try adding `-define white-point=0x0` to your command and test if that resolves your issue. This 'hidden feature' should allow you to set the white point of the chromaticity to zero and that will prevent it from being written to the file.

I also tried to see if I could figure out which change caused this behavior but I am unable to find the culprit.

Re: Behavior change in 6.9.1.2 - re: PDF->TIF, Chromaticity

Posted: 2016-01-19T15:48:11-07:00
by fmw42
I also tried to see if I could figure out which change caused this behavior but I am unable to find the culprit.
It occurred between 6.9.1.1 and 6.9.1.2.

Re: Behavior change in 6.9.1.2 - re: PDF->TIF, Chromaticity

Posted: 2016-01-20T14:01:44-07:00
by sbleon
@dlemstra that did the trick! I added the -define before my -resize and Chromaticity is gone and my crummy old software now happily consumes the TIFF files generated by ImageMagick. Thanks!