Page 1 of 1

keep transparent background white convert .png to .eps

Posted: 2019-01-04T00:52:43-07:00
by snapebysnape
Hi,
i want to convert .png to .eps files, but actually the transparent background is colored white after execute of this command:

Code: Select all

magick mogrify -format eps -background none -colorspace RGB -channel RGBA *.png
Would be great if you have some advice for me.

Re: keep transparent background white convert .png to .eps

Posted: 2019-01-04T17:32:41-07:00
by fmw42
I am not able to get a transparent eps using IM 7.0.8.23 Q16 Mac OSX and Ghostscript 9.26

Code: Select all

magick logo: -transparent white -alpha on -channel rgba -type truecoloralpha EPS:logo.eps
Neither Mac Preview nor Photoshop nor IM display will show the transparency.

So I would post your questions to the Developer's forum and put a link to this topic. Also post your IM version and platform? And Ghostscript version.

Re: keep transparent background white convert .png to .eps

Posted: 2019-01-05T06:44:45-07:00
by magick
Try

Code: Select all

magick logo: -transparent white -alpha on -channel rgba -type truecoloralpha EPS3:logo.eps

Re: keep transparent background white convert .png to .eps

Posted: 2019-01-05T11:06:09-07:00
by fmw42
Thanks.

That works OK only when viewing in IM display and Mac GraphicConverter. It does not show transparency in Mac Preview and shows transparency in odd places when viewed with Photoshop.