Greetings,
Have encountered an issue where JPEG files that we are converting from EPS files are not displaying in Internet Explorer (have confirmed this in IE6 and IE7 so far). We are simply using the ImageMagik command line as follows:
convert.exe source.eps target.jpg
The JPEG files open fine in the Firefox browser, and is quite a mystery to us as to why IE will not open them (they simply appear as a broken image link). Has anyone encountered this issue before, or can anyone offer any suggestions?
Best Regards,
Jim
JPEG from EPS does not display in IE
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: JPEG from EPS does not display in IE
Are your jpgs in cmyk format? If so, that may be the problem.
try (if you do not have internal profiles)
convert.exe -colorspace RGB source.eps target.jpg
otherwise, see http://www.imagemagick.org/Usage/formats/#profiles
try (if you do not have internal profiles)
convert.exe -colorspace RGB source.eps target.jpg
otherwise, see http://www.imagemagick.org/Usage/formats/#profiles
Last edited by fmw42 on 2010-06-24T14:42:50-07:00, edited 1 time in total.
Re: JPEG from EPS does not display in IE
There was a thread about this in the last month or so but I can not find it; Snibgo had some examples on his website but I can not find them either !
As fmw42 says some browsers may or may not display the image depending on the format/colour profile and some will display them incorrectly.
As fmw42 says some browsers may or may not display the image depending on the format/colour profile and some will display them incorrectly.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: JPEG from EPS does not display in IE
I'd forgotten that: http://www.snibgo.org/improf.htm. Near the bottom, the CMYK JPG won't display in IE8. I suspect fmw's diagnosis is correct.
@jpcain429: If not, post the URL here and someone might suggest something else.
@jpcain429: If not, post the URL here and someone might suggest something else.
snibgo's IM pages: im.snibgo.com
Re: JPEG from EPS does not display in IE
Thanks for the suggestion. The jpegs were CMYK format. I instead used:fmw42 wrote:Are your jpgs in cmyk format? If so, that may be the problem.
try (if you do not have internal profiles)
convert.exe -colorspace RGB source.eps target.jpg
otherwise, see http://www.imagemagick.org/Usage/formats/#profiles
convert.exe -colorspace sRGB source.eps target.jpg
The sRGB colorspace resulted in a better image for me. Not sure if I will need to worry about profiles or not. Is that something I can test programmatically (perhaps using the identify command)?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: JPEG from EPS does not display in IE
identify -verbose
should tell you what profiles you have or at least some hints of that information, but I am not an expert on profiles.
should tell you what profiles you have or at least some hints of that information, but I am not an expert on profiles.