Create a png with transparency from eps
Posted: 2009-05-06T09:22:15-07:00
Hi all,
i am converting a eps to a png with the following commandline:
everything works great - except that the png does have an white background.
this is what -verbose tells me:
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.
thanks and regards
gerold
i am converting a eps to a png with the following commandline:
Code: Select all
convert -profile profiles/cmyk/EuropeISOCoatedFOGRA27.icc gaga.eps -profile "profiles/rgb/sRGB Color Space Profile.icm" -colorspace rgb gaga.png
this is what -verbose tells me:
Code: Select all
"/usr/local/bin/gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g787x158 "-sOutputFile=/var/folders/E3/E3CQT-OcEZ4WUSfdij6U9E+++TI/-Tmp-/magick-bfVC5d1S" "-f/var/folders/E3/E3CQT-OcEZ4WUSfdij6U9E+++TI/-Tmp-/magick-TxNr8HsW" "-f/var/folders/E3/E3CQT-OcEZ4WUSfdij6U9E+++TI/-Tmp-/magick-LQaYYv0z"
/var/folders/E3/E3CQT-OcEZ4WUSfdij6U9E+++TI/-Tmp-/magick-bfVC5d1S PNM 787x158 787x158+0+0 8-bit ColorSeparation DirectClass 486kb
gaga.eps PS 787x158 787x158+0+0 8-bit ColorSeparation DirectClass 486kb
profiles/cmyk/EuropeISOCoatedFOGRA27.icc ICC 1x1 1x1+0+0 8-bit DirectClass 544kb
profiles/rgb/sRGB Color Space Profile.icm ICM 1x1 1x1+0+0 8-bit DirectClass 3.07kb
gaga.eps=>gaga.png PS 787x158 787x158+0+0 8-bit TrueColor DirectClass
did anybody here manage to properly convert a cmyk eps to a rgb png with profiles?
i uploaded the eps file here.
thanks and regards
gerold