At times you might need to extract images from a powerpoint presentation or a word document. It can be very tedious job to extract those images individually. Moreover, this is a time consuming activity.
This can be easily done by renamming the powerpoint/word file into a zip file and the extracting data from it.
Here is how a typical powerpoint file looks when unzipped.
Above tree structure reveals how infromation is organized in microsoft office powerpoint file.
docPropsfolder is used to store file properties and thumbnail information
pptfolder contains information on various ojects used in a presentation
_relsfolder defines relationship among various files
To get all images in a microsoft office document, one can look into
media folder, which contains all images used in an office document.
Similarly, other folders contain information about other objects used in an office document.
You can read more about this tree structure at MSDN.