En/na Mojca Miklavec ha escrit:
On Sat, Mar 14, 2009 at 21:52, Xan wrote:
So it has transparent background, but why gimp says that eps does not
support transparency? Strange. Really strange.

At least in older versions of (E)PS you cannot use "transparent blue"
or "transparent red" to fill shapes for example. But the background is
always transparent even in PostScript in the sense that unless you
explicitely paint the background with white, you can include your
image in another document and you won't see any white white
rectangular border around it.
Okay Mojca.
Anyone knows if newest version of eps support it?
GIMP doesn't really support EPS. I don't know what you need GIMP for,
but when I need to convert some EPS or PDF image into transparent PNG,
I do:

gs -dSAFER -dBATCH -dNOPAUSE \
  -sDEVICE=pngalpha \
  -dTextAlphaBits=4 \
  -dGraphicsAlphaBits=4 \
  -sOutputFile=converted_file.png \
  -r100.0 \ (put here whatever number you want)
  original_file.pdf

You can try that with the logo and you'll notice the transparent
background with GIMP.
Thanks Mojca for this script. I did the same with gimp with more more effort (open eps file, gimp says that it should convert, then a file with white background appears and then I substitute white background with transparent background, and save as png file. Uf!!).

Mojca, how is this script for converting pdf file to (newest) eps? For seeing if newest eps supports transparency.
Mojca
Regards,
Xan.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to