Converting AdobeRGB JPEG looses ICC profile

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Klabautermann
Posts: 1
Joined: 2014-03-20T02:47:49-07:00
Authentication code: 6789

Converting AdobeRGB JPEG looses ICC profile

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

Re: Converting AdobeRGB JPEG looses ICC profile

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: Converting AdobeRGB JPEG looses ICC profile

Post 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?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Converting AdobeRGB JPEG looses ICC profile

Post by dlemstra »

I can reproduce the problem and a patch will be available in the beta of ImageMagick tomorrow.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply