Metafile Conversion

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I have tried, using the SaveAs method provided in Visual Basic, to
convert a great many .ppt (PowerPoint presentation) filels to .emf
ones with no success

Apparent .emf files were synthesized with an extension of .emf when
the file-type option "ppSaveAsMetaFile" was employed designating the
new file name as one with the .emf extension. They were, however in fact
as content, .wmf files

Help would be appreciated with creating "genuine" .emf files by the
SaveAs method. Also a method for defining the pixels (horizontal x vertical)
of an .emf or .wmf file to be created and one for designating only the
first slide in each file would be fine

Thank you in advance

Marco
 
Apparent .emf files were synthesized with an extension of .emf when
the file-type option "ppSaveAsMetaFile" was employed designating the
new file name as one with the .emf extension. They were, however in fact
as content, .wmf files.

Help would be appreciated with creating "genuine" .emf files by the
SaveAs method.

Interesting! What version(s) of PowerPoint have you tried this with and what
tool do you use to examine the results?
Also a method for defining the pixels (horizontal x vertical)
of an .emf or .wmf file to be created and one for designating only the
first slide in each file would be fine.

WMF/EMF files are vector formats; they're not composed of pixels, so there's no
such measurement to be had. They can both contain bitmaps, but they're not
themselves bitmap formats.

You can export a specific slide this way:

With ActivePresentation.Slides(x)
.Export "c:\some_folder\picturename.gif, "GIF", ImageWidth, ImageHeight
End With

Substitute the appropriate WMF, BMP, etc. extensions to get exports in those
formats. When exporting to WMF/EMF, the width/height specifications aren't
necessary and will be ignored if supplied.
 
Hi, Steve.

Thank you for your suggestions.

I probably misunderstood the metafile formats, though created files
were fixed-sized and low-resolution.

My final goal is to make thousands of ppt files (each contains only
one slide) into jpg with a higher resolutions, not to get emf files.
I found a jpg option in the Save as command in the window file menu,
but the resulted file was with a low resolution by that, so I tried to
create "mediate" metafiles with a high resolution.

Could you tell me the best way to my goal.

Thank you.
 
Marco Rossi said:
I probably misunderstood the metafile formats, though created files
were fixed-sized and low-resolution.

That might be for one of two reasons:

- The images contained bitmaps (or were entirely bitmaps)
- The images included curves, or text as curves, or something other than
straight line and arc segments; WMF can't include complex curves, so any
curves must be broken up into lots of small line segments. When enlarged, this
can look something like pixelation, so it might appear to be a low resolution
image (and in a sense it is)
My final goal is to make thousands of ppt files (each contains only
one slide) into jpg with a higher resolutions, not to get emf files.
I found a jpg option in the Save as command in the window file menu,
but the resulted file was with a low resolution by that, so I tried to
create "mediate" metafiles with a high resolution.
Could you tell me the best way to my goal.

Improve PowerPoint's GIF, BMP, PNG, JPG export resolution
http://www.rdpslides.com/pptfaq/FAQ00052.htm

and if you speak VBA

Export slides as graphics
http://www.rdpslides.com/pptfaq/FAQ00022.htm
 
Back
Top