Page 1 of 1

Converting AdobeRGB JPEG looses ICC profile

Posted: 2014-03-21T02:55:19-07:00
by Klabautermann
I´m trying to resize a given AdobeRGB JPEG image that has an ICC profile embedded.
The conversion gives no errors but the new image has no ICC profile anymore.

I tried this with v 6.8.8.9 and 7.0.0.0. Both versions dont work.
However using v 6.7.3.0 is working.

The easiest way to reproduce this, is using the following image: http://www.northlight-images.co.uk/cont ... dobe98.jpg (taken from http://www.northlight-images.co.uk/arti ... ement.html) and then simply doing an

Code: Select all

convert PDI-adobe98.jpg test.jpeg
Output of identify of the original image using v 6.8.8.9 and 7.0.0.0:

Code: Select all

 Profiles:
   Profile-8bim: 18384 bytes
   Profile-exif: 9411 bytes
   Profile-icc: 544 bytes
   Profile-iptc: 61 bytes
     unknown[2,0]:
     Byline[2,80]: Keith Cooper
     Copyright String[2,116]: ©Keith Cooper, Northlight Images
   Profile-xmp: 6103 bytes
Using v 6.7.3.0:

Code: Select all

Profiles:
  Profile-8bim: 18384 bytes
  Profile-exif: 9411 bytes
  Profile-icc: 544 bytes
    Description: Adobe RGB (1998)
    Manufacturer: Adobe RGB (1998)
    Model: Adobe RGB (1998)
    Copyright: (c) 1999 Adobe Systems Inc.
  Profile-iptc: 61 bytes
    unknown[2,0]:
    Byline[2,80]: Keith Cooper
    Copyright String[2,116]: ©Keith Cooper, Northlight Images
  Profile-xmp: 6103 bytes

Edit: Also maybe related: viewtopic.php?f=1&t=23642&p=100004&hili ... le#p100004 09:33

Re: Converting AdobeRGB JPEG looses ICC profile

Posted: 2014-03-21T09:01:00-07:00
by snibgo
On v6.8.8-7 on Windows 8.1, I can't reproduce the problem. Someone will need to try it on v6.8.8-9.

Re: Converting AdobeRGB JPEG looses ICC profile

Posted: 2014-03-21T09:12:42-07:00
by glennrp
All of your outputs said "Profile-icc: 544 bytes" so the profile is in all of them, although the "identify" description is not as verbose with 6.8.8. What happens if you use the older "identify" to look at the 6.8.8 output?

Re: Converting AdobeRGB JPEG looses ICC profile

Posted: 2014-03-21T10:17:09-07:00
by dlemstra
I can reproduce the problem and a patch will be available in the beta of ImageMagick tomorrow.