magick Compare returns 'PCS Illuminant is not D50' error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
wonderbaloon
Posts: 3
Joined: 2017-03-22T06:39:58-07:00
Authentication code: 1151

magick Compare returns 'PCS Illuminant is not D50' error

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

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

Post 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.
snibgo's IM pages: im.snibgo.com
wonderbaloon
Posts: 3
Joined: 2017-03-22T06:39:58-07:00
Authentication code: 1151

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

Post by wonderbaloon »

Cheers snibgo.
I will try that.
wonderbaloon
Posts: 3
Joined: 2017-03-22T06:39:58-07:00
Authentication code: 1151

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

Post by wonderbaloon »

And it worked! Perfecto!
Thank you once again.. :)
Post Reply