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


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

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

Started by"Hans Michel" <hmichel@cox.net>
First post2011-05-22 10:55 +0000
Last post2011-05-23 10:24 +0000
Articles 2 — 2 participants

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


Contents

  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

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

From"Hans Michel" <hmichel@cox.net>
Date2011-05-22 10:55 +0000
SubjectRe: Mathematica 8 Windows EMF/WMF export with transparent background?
Message-ID<iraq37$lo1$1@smc.vnet.net>
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


[toc] | [next] | [standalone]


#2627

FromLuci Ellis <luci@verbeia.com>
Date2011-05-23 10:24 +0000
Message-ID<irdclj$3m9$1@smc.vnet.net>
In reply to#2612
On 2011-05-22 20:55:35 +1000, Hans Michel said:

Thanks Hans,

> 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"]
> 
> 
> DXF Route:
> Microsoft Office 97 Supported a DXF filter but it has been removed in
> current versions.
> 

The SVG idea is an interesting one but given the institution and 
environment, I don't think this will work for this project. Essentially 
30-40 or so graphs need to be included in a PowerPoint in the early 
morning before the presentation, because of data updates. The people 
who do the update are not IT people, but personal assistants and other 
administrative people.

Kind regards
Luci

[toc] | [prev] | [standalone]


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


csiph-web