Re: Mathematica 8 Windows EMF/WMF export with transparent background?
- To: mathgroup at smc.vnet.net
- Subject: [mg119112] Re: Mathematica 8 Windows EMF/WMF export with transparent background?
- From: "Hans Michel" <hmichel at cox.net>
- Date: Sun, 22 May 2011 06:54:25 -0400 (EDT)
Luci:
Mathematica 7.0 will Export "WMF" and "EMF". But Background -> None, or
Transparent or GrayLevel[0,0] does not remove the background when exported
to "EMF" or "WMF" so there is no reason not to explore now.
Export["D:\\akk\\ee.emf",
Show[Plot[Sin[x], {x, 0, 2 Pi}], {Background -> None}], "EMF"]
Any Ideas put forward would be too cumbersome.
The inkling of the idea I would try is SVG to VML. VML can be embedded in
PowerPoint file, as when slides are saved to HTML VML output is generated as
well as image files.
SVG -> VML Route:
http://vitali.web.cs.unibo.it/Progetti/VectorConverter
http://www.codeproject.com/KB/XML/ooxml_is_defective.aspx?msg=2523751
http://msdn.microsoft.com/en-us/library/bb250524(VS.85).aspx
http://www.w3.org/TR/NOTE-VML
http://www.causeway.co.uk/demos/vml/index.htm
http://www.grapl.com/download/
http://www.garybeene.com/vml/vml-sites.htm
SVG -> WMF Route:
http://inkscape.org/
Mathematica -> SVG -> WMF
DXF Route:
Microsoft Office 97 Supported a DXF filter but it has been removed in
current versions.
Hans
-----Original Message-----
From: Luci Ellis [mailto:luci at verbeia.com]
Sent: Saturday, May 21, 2011 5:46 AM
To: mathgroup at smc.vnet.net
Subject: [mg119112] [mg119068] Mathematica 8 Windows EMF/WMF export with transparent
background?
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