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.
EPS to JPG convert issue
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: EPS to JPG convert issue
Perhaps it is because the image is CMYK colorspace, and JPEG needs a color profile to handle CMYK correctly.
TIFF probably can 'fudge' it.
TIFF probably can 'fudge' it.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: EPS to JPG convert issue
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.
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.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: EPS to JPG convert issue
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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: EPS to JPG convert issue
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
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
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: EPS to JPG convert issue
In my (limited) experience, yes.USWebCoatedSWOP.icc and
sRGB Color Space Profile.icm
Are these the best ones that I can use for minimum color shifting in this situation?