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


Groups > comp.soft-sys.math.mathematica > #2612

Re: Mathematica 8 Windows EMF/WMF export with transparent background?

From "Hans Michel" <hmichel@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Mathematica 8 Windows EMF/WMF export with transparent background?
Date 2011-05-22 10:55 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iraq37$lo1$1@smc.vnet.net> (permalink)

Show all headers | View raw


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@verbeia.com] 
Sent: Saturday, May 21, 2011 5:46 AM
Subject:  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


Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Mathematica 8 Windows EMF/WMF export with transparent background? "Hans Michel" <hmichel@cox.net> - 2011-05-22 10:55 +0000
  Re: Mathematica 8 Windows EMF/WMF export with transparent background? Luci Ellis <luci@verbeia.com> - 2011-05-23 10:24 +0000

csiph-web