/word-extract

Extract all images from Microsoft Word file. A separate directory will be created for each DOCX file.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

word-extract

Extract all images from a Microsoft Word file.

A simple PHP script to extract all images from a Microsoft Word DOCX file (ZIP archive). Some additional features have been added for specific handling of BMP and TIFF image formats in order to compress them into JPG format using ImageMagick.

Usage

php word_extract.php <filename.docx>