Page 1 of 1

Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-27T04:02:08-07:00
by Carter J
Hi All,

We are trying to convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT), but the output images still showing as sRGB.

We tried both -Colorspace and -Profiles.

While using -Profiles, as suggested in viewtopic.php?t=8688, tried extracting existing profiles from input Image, adding them to new Image and then convert to EPT. But, that also fails .

Please suggest how to convert CMYK-Other Formats to CMYK-EPS(or EPT).

Example Input Image:
https://www.dropbox.com/s/7s6cf79qx30qj ... CMYK_1.jpg


ImageMagick Version:
ImageMagick 6.8.7-4 2013-10-26

Ghostscript Version:
gs9.10

Thanks,

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-27T10:35:12-07:00
by fmw42
can you post a link to an example input image? you can upload the image to some free hosting service such as drop box (public folder) and put a link here

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-27T22:52:57-07:00
by Carter J
Hi fmw42,

I have edited the question with example Input Image.

Please suggest.


Thanks,

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-27T23:37:43-07:00
by fmw42
I cannot get it to convert to CMYK EPS either. Perhaps IM or EPS does not support CMYK EPS. Or it is a bug.

Why do you need to make it EPS. I think it is just putting an sRGB vector wrapper around the jpg pixel data, which may be the issue. But I am not an expert on EPS.

IM 6.8.8.3 Q16 Mac OSX

Why not just convert the jpg to sRGB using profiles.

Perhaps your jpg is corrupt. When I do

convert Carter_CMYK_1.jpg -profile /Users/fred/images/Profiles/USWebCoatedSWOP.icc -profile /Users/fred/images/Profiles/sRGB.icc Carter_RGB_2.jpg

It is also odd that the EXIF data lists a USWebCoatedSWOP.icc profile, but the IM properties only shows an unnamed .icc. Usually it recognizes the type/name of the profile. How was your image created? Did you add EXIF data separate from what the camera recorded?

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T07:13:35-07:00
by Carter J
Hi fmw42,

It's not happening only with that JPEG image. I have tried with other JPEG files also. For reference, please find another input image & output image below.

https://www.dropbox.com/s/k69w59phubrjs ... CMYK_2.jpg

https://www.dropbox.com/s/urz0vjw9cnxlo ... CMYK_2.eps

Please suggest.

Thanks,

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T08:03:20-07:00
by snibgo
convert Carter_CMYK_1.jpg /Users/fred/images/Profiles/USWebCoatedSWOP.icc /Users/fred/images/Profiles/sRGB.icc Carter_RGB_2.jpg

It gives me 3 output images and since jpg does not support layers or pages or frames, it should only be making one sRGB image.
You need the keyword "-profile" twice.
convert Carter_CMYK_1.jpg -profile /Users/fred/images/Profiles/USWebCoatedSWOP.icc -profile /Users/fred/images/Profiles/sRGB.icc Carter_RGB_2.jpg
Although, as the profile is embedded in the file, the first is superfluous.

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T08:12:00-07:00
by Carter J
Hi snibgo,

We have also tried applying profiles twice, still the output image showing as RGB instead of CMYK.

Could you please suggest any alternative.

Thanks,

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T09:27:24-07:00
by snibgo
Sorry, I know nothing about eps files, and have no software that can even view them.

The round trip:

Code: Select all

convert -verbose Carter_CMYK_1.jpg -profile sRGB.icc c.eps
convert c.eps c.png
is successful, but that's as far as I can test. The eps file is RGB.

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T10:59:11-07:00
by fmw42
this works for me, but I am creating an sRGB eps file.

Code: Select all

convert Carter_CMYK_1.jpg -profile /Users/fred/images/Profiles/USWebCoatedSWOP.icc -profile /Users/fred/images/Profiles/sRGB.icc Carter_RGB_2.eps
Do you have to have cmyk eps? Perhaps EPS does not allow CMYK or IM will not convert to CMYK for EPS

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T21:58:53-07:00
by Carter J
fmw42,

We specifically need to convert certain set of images to EPS-CMYK

For Ex:
Input Output
JPEG-CMYK EPS-CMYK
JPEG-RGB EPS-CMYK
TIFF-CMYK EPS-CMYK
TIFF-RGB EPS-CMYK

Tried with several input files of the above specified input formats which are different files from one another and still the output EPS-CMYK that is produced is fuzzy and distorted

Sample Input file
https://www.dropbox.com/s/7s6cf79qx30qj ... CMYK_1.jpg

Here is how my output EPS-CMYK looks, attached a screenshot below

http://imgur.com/XmI44zn.jpg

Re: Convert CMYK-Other Formats to CMYK-EPS (or CMYK-EPT)

Posted: 2014-01-28T22:09:45-07:00
by fmw42
I cannot get a CMYK JPEG to convert to CMYK EPS. Perhaps you should report this to the Bugs forum and see what the IM developers have to say about that.

IM uses libjpeg to read jpegs, but I do not know what delegate library if any writes to EPS. The delegates.xml file does not list any. Perhaps one has to load some delegate and create an entry in the delegates.xml file. But I do not what delegate is needed.