Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
so i tried the gs commandline by itself but instead of using -sDEVICE=pam i used -sDEVICE=pngalpha. i got a png with transparency, but it looked weird, probably because it didn't convert properly from the cmyk to the rgb profile. and i couldn't really find a way to tell gs to use profiles to convert...
did anybody here manage to properly convert a cmyk eps to a rgb png with profiles?
i uploaded the eps file here.
We hope that someday Ghostscript will have a device that supports up to 5 channels for RGB, RGBA, CMYK, and CMYKA at different depths (e.g. 4, 8, 16, etc.). Until then ImageMagick cannot render CMYKA Postscript images.
i just tried that fmw42 and it seems to work in my example, but i would really like to have a general sollution -
and somehow i just can't imagine that i'm the first person trying to properly convert a eps to a transparent png - or am i?
geroldboehler wrote:i just tried that fmw42 and it seems to work in my example, but i would really like to have a general sollution -
and somehow i just can't imagine that i'm the first person trying to properly convert a eps to a transparent png - or am i?
I don't believe that IM convert alone will make an image that has no transparency into one that has certain regions transparent. But I am not an expert on eps files or converting them. Have you looked at:
convert -verbose -colorspace rgb gaga.eps -profile "profiles/rgb/sRGB Color Space Profile.icm" gaga.png
this gives me a transparent rgb png with the srgb profile embedded. but to get the colors right i would need to also provide a cmyk profile as input profile - and if i do that photoshop complains about a corrupt file. i think the problem is that the pngalpha device just outputs a rgba png without considering a input profile - probably because it only supports 4 channels. - otherwise it could output a cmyka png and then IM could convert it properly...
so basically it's a ghostscript problem - am i right?