Questions tagged [metafile]

A generic term for a file format that can store multiple types of data. This commonly includes graphics file formats, which can contain raster, vector, and type data.

A generic term for a file format that can store multiple types of data. This commonly includes graphics file formats, which can contain raster, vector, and type data.

106 questions
2
votes
0 answers

Put a metafile or bitmap in needed picturebox

Well I have two pictureboxes. First one is for metafile image, second is for bitmap image. When the picture is in clipboard after buttom has been pressed I need to check out the format of the picture and put it in the appropriate picturebox. I did…
2
votes
3 answers

How can I make "Windows Metafile" my default paste special option in Word 2007?

I am doing a lot of copying from Visio to Word 2007. I have found that Windows Metafile is the most space efficient choice of the Paste Special options available. How can I make "Windows Metafile" my default paste special option in Word?
spacebas
  • 21
  • 1
  • 3
2
votes
2 answers

Is there any open source software like Rammap?

I have a server which is running all the time, system makes meta file and saves then in memory, this increases the usage of my RAM so that i need to empty the system working set using the software Rammap which is a very hectic routine. I have to do…
Azeem Akram
  • 223
  • 6
  • 9
  • 21
2
votes
3 answers

GDI+ Image Conversion From Metafile to JPEG/GIF Results in Black Background

So i am converting a metafile (EMF to be exact) to a jpeg or gif (doesn't matter as long as it's compatible with browsers) and when I do the conversion, all of the transparent pixels turn black. I have no idea how to do this in GDI+ but here is the…
Russ Bradberry
  • 10,705
  • 17
  • 69
  • 85
1
vote
0 answers

Extract/Convert WMF with C#

I have a bunch of binary files with what appear to be embedded Windows Meta Files: {\pict\wmetafile8\picw9031\pich827\picwgoal5119\pi chgoal468 010009000003F901000005001C0000000000050000000B0200…
Pierce
  • 143
  • 10
1
vote
3 answers

How to convert jpg,bitmap format image into vector format in c#

I try to convert the jpg image into vector format.I try to implement this code but it's through the exeception public void Run() { Control c = new Control(); Graphics grfx = c.CreateGraphics(); …
Saroop Trivedi
  • 2,245
  • 6
  • 31
  • 49
1
vote
0 answers

How can I save a complex levelplot in r as svg or metafile with small size?

I have a levelplot in made in R. I want it to save it as an SVG or Metafile. Since the levelplot has multiple layers and multiple rasters, the final svg or metafile (EMF) is huge (~ 300mb). Is there any way to save it as a small file without losing…
tms
  • 11
  • 2
1
vote
1 answer

How to extract pictures as enhanced metafile from word documents in python?

I want to extract in an automatic way images from a word document. The images are excel charts pasted as picture (enhanced metafile) into the worddoc. After a quick research I tried to use the following method import docx2txt as d2t def…
1
vote
0 answers

How to get paper size if my printer is TMetafilePrinter?

I try to get width and heigth of page of my TMetfile printer var MFPrinter: TMetaFilePrinter; MFPrinter := TMetaFilePrinter.Create(nil); MFPrinter.BeginDoc DC := MFPrinter.Canvas.Handle; …
Pele
  • 77
  • 6
1
vote
1 answer

ggsave error with wmf unused argument (bg = "white")

ggsave in ggplot (3.3.4) generates this error: Error in grDevices::win.metafile(...) : unused argument (bg = "white") However, I can export the plot interactively using the RStudio | Plots menu. reproducible example: library(tidyverse) e <-…
David Weis
  • 11
  • 2
1
vote
1 answer

Scaling bitmap into EMF via System.Drawing with specific width im millimeters?

I have a couple of bitmaps/pngs (screenshots), which I would like to "wrap" in EMFs having a specific width in millimeters (and a proportional height). Ideally, I would also want to add some overlays (text & rectangles). Creating and saving an EMF…
user1211286
  • 681
  • 5
  • 17
1
vote
2 answers

Convert wmf file to emf file with SetWinMetaFileBits api in c++

I am trying to convert a wmf file to emf file. From what I've learned on Internet, the best solution looks like this. BYTE* buffer; HDC hdc = CreateMetaFileA(filename); HMETAFILE hmf = CloseMetaFile(hdc); UINT metasize = GetMetaFileBitsEx(hmf, 0,…
Xudong Shao
  • 199
  • 3
  • 12
1
vote
2 answers

devEMF output display problems in MS Word 2010 after Microsoft update

After 2-4 Microsoft updates on June, 12th the display of devEMF (an R printing device for EMF/EMF+ files) output is corrupted in MS Word 2010. The problem occurs on machines with the most recent Microsoft updates installed and does not where…
Ingo
  • 53
  • 6
1
vote
0 answers

Use custom font in openxml created powerpoint parts (emf)

we generate serverside pptx-documents with .net/c#. These pptx contain emf-images and some textfields. For drawing text we use custom fonts installed on the server. if we ship these pptx to our customers, we embed the fonts into the pptx and the…
Saftpresse99
  • 849
  • 7
  • 16
1
vote
1 answer

How to make emf file dpi aware

I am struggling trying to work with emf files that are dpi aware on Windows. The main problem, comes from the fact that they do not handle text in a dpi aware manner. For instance, no matter what the resolution of the screen, or the emf internally,…
John
  • 71
  • 6