MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Exporting Graphics: Transparent Background?

  • To: mathgroup at
  • Subject: [mg24782] Re: Exporting Graphics: Transparent Background?
  • From: "P.J. Hinton" <paulh at>
  • Date: Thu, 10 Aug 2000 00:32:17 -0400 (EDT)
  • Organization: Wolfram Research, Inc.
  • References: <8mr17s$>
  • Sender: owner-wri-mathgroup at

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 Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.

  • Prev by Date: Re: SetDirectory[ ] for Folders on the Mac Desktop?
  • Next by Date: What happened to MonomialList?
  • Previous by thread: Re: Exporting Graphics: Transparent Background?
  • Next by thread: econometric model