Skip to content
master
Go to file
Code

README.md

#PPTExtractor

Extract images from PowerPoint files (ppt, pps, pptx) without use win32 API

required: OleFileIO_PL: Copyright (c) 2005-2010 by Philippe Lagadec

##Usage

By default images are saved in current directory:

ppt = PPTExtractor("some/PowerPointFile")

# found images
len(ppt)

# image list
images = ppt.namelist()

# extract image
ppt.extract(images[0])

# save image with different name
ppt.extract(images[0], "nuevo-nombre.png")

# extract all images
ppt.extractall()

Save images in a diferent directory:

ppt.extract("image.png", path="/another/directory")
ppt.extractall(path="/another/directory")

About

Extract images from PowerPoint files

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.