Is there a (Linux) command-line tool to extract all the images from a MS Word document, (preferably one that could handle the .docx format)?
Since docx files are zip files you can unzip the docx file and then pick out the image files.
I have no Microsoft Office to test so I downloaded some random docx files from the internet. It seems that the images are always stored in a
This command will extract all files from the
This command will extract only
Note that you have to specify
Saving a Word document as a web page is a technique used on Windows to extract all the images into a folder: http://support.microsoft.com/kb/555171
It might be long winded, but perhaps you could control Open Office on Linux from the command line to extract the images, possibly by converting to a web page and ending up with the images in the supporting folder it would create.