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?".
snapebysnape
Posts: 1 Joined: 2019-01-04T00:48:05-07:00
Authentication code: 1152
Post
by snapebysnape » 2019-01-04T00:52:43-07:00
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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2019-01-04T17:32:41-07:00
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.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2019-01-05T06:44:45-07:00
Try
Code: Select all
magick logo: -transparent white -alpha on -channel rgba -type truecoloralpha EPS3:logo.eps
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2019-01-05T11:06:09-07:00
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.