Reputation:
How can I load an image from source file in postscript and convert it into cmyk?
Shell I use DCTDecode?
I have no idea how to achieve this. I found some example that prints rgb image but that is not the same.
Upvotes: 0
Views: 699
Reputation: 31159
Why do you want to do this ? In order to manage it you would have to know about how the image operator works in PostScript, and then examine the PostScript program in some detail to work out what you need to do to extract the image samples. Then you would need to convert those to CMYK.
If you wanted to inject that back into the original file, you would need some more PostScript programming skills to figure out how to do it. Its possible, but its not trivial, perhaps if you could explain your goal a better approach might be possible.
One approach is to convert the PostScript file to PDF, then use Adobe Acrobat Professional to 'touch up' the image, which can open the image in an image-editing application(eg Photoshop) where you could do the conversion.
The question can't really be answered as is.
Upvotes: 2