I'm using ColdFusion and ImageMagick to convert client-uploaded images to web-friendly jpgs thumbnails. I'm having some problems, however, with some EPS files. The problem is that if I don't change the colorspace to RGB (the files uploaded are usually CMYK), then the thumbnails will appear as negatives in some browsers (mostly Safari on a mac/ipad). However, if I change the colorspace to RGB, it adds a green hue to the image. Has anyone come across this before, or know of anything I can do to fix or circumvent this problem?
Here is the code I'm using:
Code: Select all
<cfexecute name="C:\Program Files\ImageMagick-6.7.0-Q16\convert.exe"
arguments="-colorspace RGB -density 72 2927-K135A_SU10.jpg -flatten -strip -thumbnail 150x150 thumbs\2927-K135A_SU10.jpg"
timeout="5000"
variable="debugReport"
/>
Here is the original image:
http://dl.dropbox.com/u/14916695/Image_1.eps
Here is the resulting Jpg thumbnail
http://dl.dropbox.com/u/14916695/Image_1_Thumb.jpg
Thanks in advance for any help on the matter!