Re: Exporting Graphics: Transparent Background?
- To: mathgroup at smc.vnet.net
- Subject: [mg24782] Re: Exporting Graphics: Transparent Background?
- From: "P.J. Hinton" <paulh at wolfram.com>
- Date: Thu, 10 Aug 2000 00:32:17 -0400 (EDT)
- Organization: Wolfram Research, Inc.
- References: <8mr17s$1m0@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On 9 Aug 2000, AES wrote: > Is it possible to create graphics in Mathematica, and export them using > the Export[ ] command, with *transparent* (not just White) background > fill, so you can overlay them over text or graphics in other programs > and see through them? > > (Note: Excel can do this.) > > Is "saturation" in Hue a way to approach this? This query doesn't specify what the preferred format is. Not all graphics formats support the notion of transparency, so the answer to the general question is "no". If you are exporting to GIF format, the Export[] function provides a special option for specifying a transparent color. Export[<filename>, <expression>, "GIF", ConversionOptions -> {"Transparency" -> <color directive>}] This is documented in the online Reference Guide entry for Export[] under the Additional Information section. -- P.J. Hinton User Interface Programmer paulh at wolfram.com Wolfram Research, Inc. Disclaimer: Opinions expressed herein are those of the author alone.