Saving pictures from a PPT file to separate files

G

glen

I have a PPT file that a friend created for a wedding I am
helping with. The slides in the PPT file all have single
pictures on them. I want to create a macro that will walk
through the PPT file and save each picture to a separate,
external file (bmp or jpg). I already have macros that
will go through the PPT file, find pictures, and
then "optimize" their size (make them fill the slide while
maintaining their aspect ratio) so I know how to make the
VB do that. Is there a way to save the picture (once it
has been selected) to either a bmp file or a jpg file via
a macro in PowerPoint? Basically, I want to re-extract
the source pictures to "external" files. Any help is
appreciated -- thanks!

Glen
 
O

obistyle

Answer is simple....

Just save your Powerpoint file as a jpep, tiff, gif or png... and it
will save all slides as an image...

Or do you mean something else?
 
G

Glen

I didn't do it because I had no idea that it was an
option! I just tried it and it did exactly what I
wanted! Thanks so much!!

Glen
 
G

Glen

Oops! I spoke too soon. I just reviewed the "pictures"
that it saved and found that what it really saved was each
whole slide of the presentation as a jpg file. It didn't
take each picture (as it said it would in the message when
I did the File/SaveAs) and save it in its original source
resolution.

One of the reasons I want to do this is to "re-make" the
slide show using pictures of reduced resolution. Some of
the pictures my friend used are huge (very high
resolution). Since the pictures are being displayed on
the screen, there is no need to use pictures that exceed
the maximum screen resolution. Using pictures with higher
resolution than the screen cause the PPT file to be larger
than needed and can cause slide transitions to be slower.
I want to extract the "original" pictures, re-crop them,
convert them to an appropriate resolution, then re-insert
them into the show.

However, thanks again for your suggestion and for making
me aware of that feature -- I will experiment with some
other variations along that "trail." I'm currently
working on the show in Powerpoint 97. I'll try some
things in Powerpoint 2003 also.

Glen
 
B

Bill

I don't have any code that does what you want to do, but what I do is click
the image, press CTRL-X to cut it, open Microsoft Photo Editor, click
"Edit", "Paste as new image", save it as a jpg (which will compress), then
switch back to PowerPoint and click "Insert", "Picture", "From file".

One of our Microsoft PowerPoint MVPs has an add-in that can batch import a
bunch of JPGs from a folder into a presentation. That might save you some
time.

Check it out at:

http://www.mvps.org/skp/iiw.htm

Sorry, I didn't mean to use the "exclamation point" as a "HEY YOU DUMMY",
but more of a "this might be easier"! HA!

Bill Foley
www.pttinc.com
 
J

John Langhans [MSFT]

[CRITICAL UPDATE - Anyone using Office 2003 should install the critical
update as soon as possible. From PowerPoint, choose "Help -> Check for
Updates".]

Hello Glen,

PowerPoint does not have the specific capability that you are looking, but
there is a workaround (in PowerPoint 2000 and later). Simply "Save as web
page" <make sure you chose save as type of Web Page, not Single File Web
Page> and all of the images in the presentation will be extracted <by
default in a folder created by the save as web page feature> at their full
resolution for purposes of round-tripping back into PowerPoint.

If you (or anyone else reading this message) think that PowerPoint should
provide better content management tools for finding, exporting, changing,
replacing, optimizing, deleting, etc. linked, embedded and native content
(without havuing to resort to workarounds VBA or 3rd party add-ins), don't
forget to send your feedback (in YOUR OWN WORDS, please)to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also WHY it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions)

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
S

Steve Rindsberg

One of the reasons I want to do this is to "re-make" the
slide show using pictures of reduced resolution. Some of
the pictures my friend used are huge (very high
resolution).

The simplest thing would be to find somebody with a copy of PowerPoint 2002 or
2003. Open the file, right-click a picture, choose Format, click the Picture
tab and click Compress. The rest is pretty obvious from there.

Or as has been suggested, manually copy/paste each picture into MS Photo Editor
and save, then downsample and reinsert the saved files back into PPT in place
of the originals. Better yet, teach your friend how to do it. That's almost
certain to prevent the situation from recurring in the future. ;-)

We have a commercial addin that automates all this for you (PPTools Optimizer
at http://www.pptools.com) and there are several other commercial solutions
available, but for one presentation, it probably isn't worth while.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top