AI Files & Document Colour Mode

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
youds
Posts: 53
Joined: 2010-01-28T05:38:11-07:00
Authentication code: 8675309

AI Files & Document Colour Mode

Post by youds »

Hi

"identify" shows that the colorSpace is set to RGB no matter whether you set the Document Colour Mode to "CMYK" or "RGB" from File -> Document Colour Mode in Illustrator CS3.
Using the "convert" command however does produce different output results, indicating the problem is in ImageMagick and there is a difference in the image encoding.

See http://public.me.com/craigfairhurst for example files. There's a 5MB difference between the two files, so there is a noticeable difference.

Kind regards
ImageMagick 6.5.9-1
GhostScript 8.7
libpng-1.2.43RC1
iMagick 3.0.0RC1
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: AI Files & Document Colour Mode

Post by magick »

Both of your AI images internally show the colorspace as ICCBased. We will add a patch to ImageMagick to detect this colorspace in the next point release.
youds
Posts: 53
Joined: 2010-01-28T05:38:11-07:00
Authentication code: 8675309

Re: AI Files & Document Colour Mode

Post by youds »

Excellent. Wasn't sure if it was a bug or not.
Thanks
ImageMagick 6.5.9-1
GhostScript 8.7
libpng-1.2.43RC1
iMagick 3.0.0RC1
youds
Posts: 53
Joined: 2010-01-28T05:38:11-07:00
Authentication code: 8675309

Re: AI Files & Document Colour Mode

Post by youds »

To let you know, the same happens with EPS files.
I've uploaded examples to http://public.me.com/craigfairhurst
No matter what the Colour Space is set to, "identify" returns CMYK.

Also, I'm not sure what this does to the document internally and this is obviously a bug in Illustrator, however if you save a PDF document with an sRGB colour profile in the "Save Adobe PDF" dialog box, it does not automatically change the "Document Colour Mode" option under the "File" menu. Therefore there are 2 conflicting settings. I've included the PDF file this happens with, not sure if this will be helpful as it obviously saves as sRGB, however I don't know if there are other pieces of data that should be checked as well.

Kind regards
ImageMagick 6.5.9-1
GhostScript 8.7
libpng-1.2.43RC1
iMagick 3.0.0RC1
youds
Posts: 53
Joined: 2010-01-28T05:38:11-07:00
Authentication code: 8675309

Re: AI Files & Document Colour Mode

Post by youds »

Hi

Not sure if this has been noticed? I've left the example files at the URL above.

Kind regards
ImageMagick 6.5.9-1
GhostScript 8.7
libpng-1.2.43RC1
iMagick 3.0.0RC1
jennyshred

Re: AI Files & Document Colour Mode

Post by jennyshred »

The ImageMagick can detect that color space in the document. Maybe you just need the latest version of the application to make it possible for you to do that. All you have to do is to download it maybe and install it to your computer.
Last edited by jennyshred on 2010-05-04T21:03:50-07:00, edited 3 times in total.
youds
Posts: 53
Joined: 2010-01-28T05:38:11-07:00
Authentication code: 8675309

Re: AI Files & Document Colour Mode

Post by youds »

I do have the very latest ImageMagick.
The second problem appears to be exactly the same as the first.
I'll leave the files at http://public.me.com/craigfairhurst until someone gets chance to take a look.

Kind regards
ImageMagick 6.5.9-1
GhostScript 8.7
libpng-1.2.43RC1
iMagick 3.0.0RC1
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: AI Files & Document Colour Mode

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.6.0-7 Beta available sometime tomorrow. Thanks.
Post Reply