Page 1 of 1

unending warnings from "identify -format %[profile:icc]" cmd

Posted: 2013-11-11T16:39:20-07:00
by papagi11
Hi,

I am getting below unending warning messages when I ran identify command to find out the ICC profile and the command never return back. I have to do a ctrl+c to stop the command.

-bash-4.1$ identify -format %[profile:icc] 120113_BIL_ALL_1stProof_01-36.pdf
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw
^C-

ImageMagick version is: 6.8.7-5 Q16 x86_64 2013-11-07

Can you please help out how can I avoid these warnings ?

Thanks,
Papagi

Re: unending warnings from "identify -format %[profile:icc]"

Posted: 2013-11-11T17:22:02-07:00
by snibgo
Is is one warning per page? What happens if you use "-quiet"? Or [0] after the input filename?

Re: unending warnings from "identify -format %[profile:icc]"

Posted: 2013-11-11T19:58:47-07:00
by papagi11
Same thisng with -quiet and [0] after file name as below:

-bash-4.1$ identify -quiet -format %[profile:icc] 120113_BIL_ALL_1stProof_01-36.pdf[0]
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw
warning: ignoring invalid option raw

Re: unending warnings from "identify -format %[profile:icc]"

Posted: 2013-11-11T20:33:26-07:00
by snibgo
Weird. Can you put the pdf somewhere like dropbox.com and paste the link here?

Re: unending warnings from "identify -format %[profile:icc]"

Posted: 2013-11-12T05:56:39-07:00
by papagi11
snibgo wrote:Weird. Can you put the pdf somewhere like dropbox.com and paste the link here?
Here is the PDF link that I had uploaded to dropbox - https://www.dropbox.com/s/p23591o3bc7ln ... _01-36.pdf

TIA

Re: unending warnings from "identify -format %[profile:icc]"

Posted: 2013-11-12T07:10:45-07:00
by snibgo
On v6.8.7-0 on Windows 7, this command ...

Code: Select all

identify -format %[profile:icc] 120113_BIL_ALL_1stProof_01-36.pdf
... took about 4 minutes on my laptop and produced no output at all.

Did you use a pre-built binary? Maybe your build is bad, but I don't know.

Re: unending warnings from "identify -format %[profile:icc]"

Posted: 2013-11-12T08:47:32-07:00
by dlemstra
The message 'warning: ignoring invalid option raw' is a message from GhostScript. And I am not sure if we support reading profiles from pdf files...