Skip to content

sney2002/PPTExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

#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