Extracting an image from PowerPoint Interop

C

Chuvv

Hi,

I'm inspecting the PowerPoint object model in order to extract certain
elements, and one that has eluded me is the picture. In other words, when you
add a picture to a PowerPoint slide, I haven't found how to access that
picture programmatically. I'm looking in detail at the FIllFormat object
nested within the Shape object, but have not been able to get to the actual
bits of the picture, or to find a method that exports it (as, for example,
you can do with an embedded sound).

Would appreciate any help or comments. Even similar experiences (so that I
know I'm not missing something obvious).

Thanks.
 
S

Steve Rindsberg

I'm inspecting the PowerPoint object model in order to extract certain
elements, and one that has eluded me is the picture. In other words, when you
add a picture to a PowerPoint slide, I haven't found how to access that
picture programmatically. I'm looking in detail at the FIllFormat object
nested within the Shape object, but have not been able to get to the actual
bits of the picture, or to find a method that exports it (as, for example,
you can do with an embedded sound).

Would appreciate any help or comments. Even similar experiences (so that I
know I'm not missing something obvious).

You're not missing anything obvious.

Are you looking at picture shapes (ie, pictures brought in via Insert, Picture,
From File) or at picture-filled shapes?

Saving as HTML will give you access to the images, as stored by PPT, in their
original resolution.
 
Top