Questions tagged [wmf]

A Windows metafile (WMF) consists of a collection of records that can store an image. The stored image can be rendered by parsing and processing the metafile structure.

A Windows metafile (WMF) is a vector image file format which consists of a collection of records that can store an image. The stored image can be rendered by parsing and processing the metafile structure.

The Windows metafile begins with a header record, which may include the version of the metafile, its size, and the maximum number of objects that are defined. A metafile with its records defines the steps to read the final image and hence can be "played back" when its records are converted to graphics commands and executed by a graphics API to render the image.

93 questions
3
votes
1 answer

Is there a way to open a .wmf file in python?

Is there any support or library in python for opening ".wmf" format files and converting them into arrays for further operations?
Siddhant
  • 66
  • 1
  • 9
3
votes
3 answers

Decompress "wmz" file

When we try to save msword doc file as html file we get "wmz" files for the math equation objects. I tried decompressing the wmz file and saving the content as jpg. I can open this jpg file in the "Microsoft Picture manager" properly. But trying to…
Thiyaneshwaran S
  • 1,137
  • 2
  • 10
  • 14
3
votes
1 answer

Changing WMF color

i have been trying to change colors on a wmf canvas in Delphi, with usual images i just run a scanline or by running a loop on each X and Y pixel and give it a new color code, but with MetaCanvas this method doesnt work, maybe because it is not…
Junaid Noor
  • 474
  • 9
  • 24
2
votes
0 answers

EMF Images not displayed in browser

I am working on a React Application. I am unable to display EMF images on user interface. I am restricted to use only Chrome & Edge as browsers. The workflow is - Users can copy & paste any rich text from word document on the UI. Rich text with EMF…
Iti
  • 21
  • 2
2
votes
3 answers

Capturing the desktop with Windows Media Format(WMF)

I am using Windows Media Format SDK to capture the desktop in real time and save it in a WMV file (actually this is an oversimplification of my project, but this is the relevant part). For encoding, I am using the Windows Media Video 9 Screen codec…
Terminus
  • 902
  • 2
  • 10
  • 21
2
votes
0 answers

SVG/EMF/WMF from MS Word to PDF

I have a question. I'm dutch so I asked this on dutch forums but nobody knew the answer. I made a diagram with Lucidchart. I can export it in: SVG PNG PDF JPEG VISIO And many more.. (but not EMF or WMF) My goal is to have a vector diagram in my…
KM1234
  • 33
  • 2
2
votes
1 answer

PowerShell : Cannot find a provider with the name

Trying to update existing powershell version(V2) to latest version (V5.) on about 50 remote computers. Obtained install instructions and script(Install-WMF5.1) from https://msdn.microsoft.com/en-us/powershell/wmf/5.1/install-configure and script…
PowerUser
  • 21
  • 3
2
votes
2 answers

PowerShell PackageManagement not found

I'm trying to avoid having to restore my PC and get it back to where I was. I was recently going to delete a folder using Shift+Del, but without paying too close attention I hit Shift+Del on the modules folder in…
JonnyBoy
  • 417
  • 1
  • 6
  • 16
2
votes
1 answer

How to overlay or watermark a picture in windows media player

I working on a distributed mediaplayer that uses the windows media player component. Now the customer asks me if its possible to have their logo overlayed on the media played instead of them having to render every movie with the logotype. I have…
Stefan
  • 11,423
  • 8
  • 50
  • 75
2
votes
1 answer

Where are chocolatey packages cached when installed with DSC

Working with the OneGet chocolatey provider, if I run the a command like the following... Install-Package fooo directly on a box the chocolatey package is cached in <%LocalAppData%>\Nuget\Cache. If I rerun the same command the package is read out…
Alexis Coles
  • 1,227
  • 14
  • 19
2
votes
1 answer

How can I show rtf file with wmf images in ios

I have a .rtf file. It contains images with Windows Metafile Format(wmf). I want to show this file in iOS app. I tried showing it using NSAttributedString and in UIWebView but images are not shown. How can I show it on iOS device ? EDIT For…
sagar.musale
  • 585
  • 1
  • 7
  • 19
2
votes
1 answer

WMF rendered badly with PlayEnhMetafile

this is a question for somebody who is familiar with WMF/EMF formats. I wonder why the attached metafile does not render correctly with PlayEnhMetafile (after conversion with SetWinMetaFileBits, I am testing it in Delphi). It does not render…
tk_
  • 490
  • 3
  • 15
2
votes
1 answer

Converting PDF to WMF

Can someone suggest the best way to convert a PDF file to WMF? I currently make Dynamic XML Form PDFs with Adobe LiveCycle Designer, but a client requires the file in WMF format for printing. Instead of filling out the form directly, they have their…
user2903093
  • 31
  • 1
  • 2
2
votes
1 answer

Exporting lots of .doc files with mathtype equations and vector drawings to html with embedded latex and svg

I need to convert thousands of .doc files to HTML. These documents contain MathType equations, Word Drawings (vector drawings), and the drawings many times contain more equation objects themselves. Through Microsoft.Office.Interop.Word I have…
Marcelo Zabani
  • 2,139
  • 19
  • 27
2
votes
2 answers

How can I convert a WMF image to PNG or JPG on Windows using Perl?

By any chance is anyone aware of a Perl module that will allow a WMF image to be converted over to the PNG or JPEG format? I searched CPAN, but did not come across anything. Due to installation limitations, must be a Perl module and work on…
JustADude
  • 2,619
  • 7
  • 31
  • 45