Skip to content

sney2002/PPTExtractor

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

#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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages