Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Transparent background with PNG

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96932] Re: Transparent background with PNG
  • From: m.r at inbox.ru
  • Date: Fri, 27 Feb 2009 06:15:41 -0500 (EST)
  • References: <gnm1o0$hgg$1@smc.vnet.net>


replicator... at gmail.com wrote:
> Hi,
>
> how can I save an image to PNG format (eg. a simple plot), with the
> (white) background being transparent? I understand that PNG export
> supports alpha channel, but have no clue how to instruct Mathematica
> to exploit it.
>
> Thanks in advance
>
> Istvan Zachar

Export["/1.png", Plot[x, {x, 0, 1}], Background -> None]

Maxim Rytin
m.r at inbox.ru


  • Prev by Date: Re: Transparent background with PNG
  • Next by Date: Re: Transparent background with PNG
  • Previous by thread: Re: Transparent background with PNG
  • Next by thread: Re: Transparent background with PNG