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.
php word_extract.php <filename.docx>