I have EPS files in grayscale mode and CMYK combinations. I need to identify where the EPS files are in grayscale or CMYK mode.
I used the %[Colorspace] to get information about the images.
If it is a color image - %Colorspace returns RGB. If it is a grayscale image - %Colorspace returns Gray.
In some cases eventhough the image is gray, %Colorspace returns RGB.
Please let me know on how to identify the grayscale and CMYK mode in EPS files.
thanks,
Sashi
EPS files - %Colorspace
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: EPS files - %Colorspace
use identify -verbose yourimage.eps and look at the information about colorspace. see if that is more accurate.
-
- Posts: 5
- Joined: 2011-09-07T22:54:43-07:00
- Authentication code: 8675308
- Location: Chennai, India
Re: EPS files - %Colorspace
There is no difference with the information generated by -verbose and %[Colorspace]. Both are the same.
Please help me on how to idenity the EPS files as grayscale and CMYK mode.
regards,
Sashi
Please help me on how to idenity the EPS files as grayscale and CMYK mode.
regards,
Sashi
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: EPS files - %Colorspace
I am not that familiar with eps files. So I cannot help further apart from suggesting you post a link to your cmyk file and your problem on the bugs forum.
You could try from http://www.imagemagick.org/script/escape.php
%r image class and colorspace
and also try
%[channels]
and see what you get
but I suspect your eps file is not identifying itself properly as cmyk
You could try from http://www.imagemagick.org/script/escape.php
%r image class and colorspace
and also try
%[channels]
and see what you get
but I suspect your eps file is not identifying itself properly as cmyk