Page 1 of 1

EPS to JPG convert issue

Posted: 2011-04-26T10:00:07-07:00
by buffym
I'm having trouble converting some eps files to jpgs. I am using ImageMagick version 6.6.9-5 on Ubuntu 9.10.

The convert command:

convert test.eps test.jpg -produces a corrupt jpg file that displays in the browser as a black box.
convert test.eps test.tif -works

The same eps to jpg conversion works properly on IM 6.4.1 on my windows desktop.

Three sample eps files can be downloaded from here:
https://dev.imagerelay.com/sb/e9b458a6- ... 3139165098

Just click the arrow under the file name, and when you are given an option of "Download As: "Original (filename)" from the dropdown.

Other eps files are converting fine, it is just a small subset that are problematic.

Re: EPS to JPG convert issue

Posted: 2011-04-26T16:53:36-07:00
by anthony
Perhaps it is because the image is CMYK colorspace, and JPEG needs a color profile to handle CMYK correctly.
TIFF probably can 'fudge' it.

Re: EPS to JPG convert issue

Posted: 2011-04-27T05:44:11-07:00
by buffym
Hm, I will try adding a profile during the conversion and update, but I don't think that explains why it works in an earlier version of IM.


Update:
So, I can successfully convert the problematic eps files into RGB jpgs using this command:

convert test.eps -profile USWebCoatedSWOP.icc -profile sRGB.icm test.jpg

But, conversion to a cmyk jpg doesn't work using this command:

convert test.eps -profile USWebCoatedSWOP.icc test.jpg

Maybe I am misunderstanding something here.

Re: EPS to JPG convert issue

Posted: 2011-04-28T04:26:24-07:00
by anthony
IM will not receive any profiles from an EPS file due to the way IM uses ghostscript to convert a EPS (encapsulated postscript) As such you will need to specify two color profiles for the conversion. CMYK and sRGB

Re: EPS to JPG convert issue

Posted: 2012-02-07T08:45:45-07:00
by mabian
Hello all,

sorry for reviving this old thread but I'm in a very similar situation: colors in the output jpg are a little different from those in the input eps file, even looking at them on same monitor.

The target for jpg files is a web site, so I'd like to be sure about what are the most correct color profiles to use for the conversion.

I have found in the Windows <Common Files>\Adobe\Color\Profiles\Recommended folder several profile (icc and icm) files. Among them:

USWebCoatedSWOP.icc and
sRGB Color Space Profile.icm

Are these the best ones that I can use for minimum color shifting in this situation?

Thank you,
Mario

Re: EPS to JPG convert issue

Posted: 2012-02-07T10:43:27-07:00
by fmw42
USWebCoatedSWOP.icc and
sRGB Color Space Profile.icm

Are these the best ones that I can use for minimum color shifting in this situation?
In my (limited) experience, yes.