Page 1 of 1

magick Compare returns 'PCS Illuminant is not D50' error

Posted: 2017-03-22T07:07:25-07:00
by wonderbaloon
Hi,
I am using imagemagick to compare images and generate deltas (or minus images).
Command i use is- 'magick compare "image1" "image2" "image_delta".

It works fine on my desktop, but the issue I have is that the same command is returning 'compare: iccp: profile 'default_rgb.icc': 0h: PCS illuminant is not D50' 'image_delta' @ warning/png.c/MagickPNGWarningHandler/1683'.

Is this something that can be resolved?
I am using ImageMagick primarily for comparing a before and after versions of two images.

Thanks for your time & help in advance.

Re: magick Compare returns 'PCS Illuminant is not D50' error

Posted: 2017-03-22T08:24:37-07:00
by snibgo
It's just a warning. If you don't want to be warned, try "-quiet". See http://www.imagemagick.org/script/comma ... .php#quiet

I suggest you should check that your input images have the same embedded profile.

Re: magick Compare returns 'PCS Illuminant is not D50' error

Posted: 2017-03-23T07:13:52-07:00
by wonderbaloon
Cheers snibgo.
I will try that.

Re: magick Compare returns 'PCS Illuminant is not D50' error

Posted: 2017-03-23T11:50:57-07:00
by wonderbaloon
And it worked! Perfecto!
Thank you once again.. :)