Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2552 > unrolled thread

Mathematica 8 Windows EMF/WMF export with transparent background?

Started byLuci Ellis <luci@verbeia.com>
First post2011-05-21 10:45 +0000
Last post2011-05-23 10:28 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Mathematica 8 Windows EMF/WMF export with transparent background? Luci Ellis <luci@verbeia.com> - 2011-05-21 10:45 +0000
    Re: Mathematica 8 Windows EMF/WMF export with transparent background? Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-05-22 10:58 +0000
      Re: Mathematica 8 Windows EMF/WMF export with transparent background? Luci Ellis <luci@verbeia.com> - 2011-05-23 10:28 +0000

#2552 — Mathematica 8 Windows EMF/WMF export with transparent background?

FromLuci Ellis <luci@verbeia.com>
Date2011-05-21 10:45 +0000
SubjectMathematica 8 Windows EMF/WMF export with transparent background?
Message-ID<ir8554$bc7$1@smc.vnet.net>
Dear all
I'm developing a custom plotting function for my employer, 
incorporating all the little tweaks and standard formats they want. So 
far, so good. But they want to export WMF or EMF graphics into 
PowerPoint presentations that (for technical reasons to do with the 
screen in the Board room) have dark backgrounds. So they want the 
graphics to have transparent backgrounds. But the backgrounds of 
graphics exported as WMF/EMF have white backgrounds, even though the 
default for Export is meant to be Background->None.
Does anyone have any suggestions about how to enforce the transparent 
background? I am having difficulties testing this myself because I'm 
developing on a Mac (thus no WMF/EMF export capability), and at the 
moment they haven't upgraded their Windows versions from 7.0.
Kind regards
Luci

[toc] | [next] | [standalone]


#2607

FromArmand Tamzarian <mike.honeychurch@gmail.com>
Date2011-05-22 10:58 +0000
Message-ID<iraq8u$lso$1@smc.vnet.net>
In reply to#2552
On May 21, 8:45 pm, Luci Ellis <l...@verbeia.com> wrote:
> Dear all
> I'm developing a custom plotting function for my employer,
> incorporating all the little tweaks and standard formats they want. So
> far, so good. But they want to export WMF or EMF graphics into
> PowerPoint presentations that (for technical reasons to do with the
> screen in the Board room) have dark backgrounds. So they want the
> graphics to have transparent backgrounds. But the backgrounds of
> graphics exported as WMF/EMF have white backgrounds, even though the
> default for Export is meant to be Background->None.
> Does anyone have any suggestions about how to enforce the transparent
> background? I am having difficulties testing this myself because I'm
> developing on a Mac (thus no WMF/EMF export capability), and at the
> moment they haven't upgraded their Windows versions from 7.0.
> Kind regards
> Luci


I have a Mac also, so cannot test WMF but the following formats worked
ok for me: i.e. from a coloured background notebook I saved plots and
imported them as transparent backgrounds into a blue background power
point slide: PDF, PNG, TIFF etc.

Note that a problem you may encounter with exporting a transparent
background is the effect that antialiasing has. With GIF you can set
"TransparentColor" -> GrayLevel[1] but on my system GIF gives a poor
quality result. Plot numbers are still antialiased so you see a white
"cloud" around the numbers.

tmp = Style[Plot[Sin[x], {x, 0, 6 Pi}, Background -> None],
  Antialiasing -> False]

Export["test.pdf", tmp, Background -> None]

PDF is probably a good option if you can convince them to import that
format.

Mike

[toc] | [prev] | [next] | [standalone]


#2645

FromLuci Ellis <luci@verbeia.com>
Date2011-05-23 10:28 +0000
Message-ID<irdcsa$3s6$1@smc.vnet.net>
In reply to#2607
On 2011-05-22 20:58:38 +1000, Armand Tamzarian said:

> On May 21, 8:45 pm, Luci Ellis <l...@verbeia.com> wrote:
>> Dear all
>> I'm developing a custom plotting function for my employer,
>> incorporating all the little tweaks and standard formats they want. So
>> far, so good. But they want to export WMF or EMF graphics into
>> PowerPoint presentations that (for technical reasons to do with the
>> screen in the Board room) have dark backgrounds. So they want the
>> graphics to have transparent backgrounds. But the backgrounds of
>> graphics exported as WMF/EMF have white backgrounds, even though the
>> default for Export is meant to be Background->None.
>> Does anyone have any suggestions about how to enforce the transparent
>> background? I am having difficulties testing this myself because I'm
>> developing on a Mac (thus no WMF/EMF export capability), and at the
>> moment they haven't upgraded their Windows versions from 7.0.
>> Kind regards
>> Luci
> <snip>
> 
> tmp = Style[Plot[Sin[x], {x, 0, 6 Pi}, Background -> None],
>   Antialiasing -> False]
> 
> Export["test.pdf", tmp, Background -> None]
> 
> PDF is probably a good option if you can convince them to import that
> format.

The question is how that goes in PowerPoint 2007 for Windows. If the 
machine connected to the Board room projector were a Mac, PDF would 
work.

Does anyone with a Windows version of Mathematica 8.0.1 have 
time/inclination to see what WMF/EMF export looks like with and without 
the Background->None option to Export[]?

Kind regards
Luci

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web