I no nothing about eps format or using Imagemagick in windows and can not test this.
convert origin.eps -transparent white transparent.eps
How to make the background of a eps file to be transparent?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
You can make eps files transparent in conversion to images by two steps.
First you need a extra line in the eps file so IM can correctly determine the delegate calls it can use, and secondally you need a -channels RGBA before reading in the eps.
See http://www.cit.gu.edu.au/~anthony/graph ... postscript
for how I modified a PS file and later read it in with transparent background.
EPS is handled exactly the same way as PS
First you need a extra line in the eps file so IM can correctly determine the delegate calls it can use, and secondally you need a -channels RGBA before reading in the eps.
See http://www.cit.gu.edu.au/~anthony/graph ... postscript
for how I modified a PS file and later read it in with transparent background.
EPS is handled exactly the same way as PS
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/