Page 1 of 1

Extracting images from .docx (and other MS Office) files

Posted: Thu Sep 25, 2014 5:20 pm
by KNelson
Any time you want to get files out of a newer MS Office file, the process is embarrassingly easy.

1) change .docx to .zip (or whatever the file extension is, depending on which Office application saved it)
2) open the .zip file and extract the contents.
3) change the file extension back to .docx, it will be unchanged from the the way it was before
4) open the folder that you extracted from the .zip file. Look for a folder named for the program that created the original file (Word, Powerpont, etc.), inside of which should be a "Media" folder. The pictures will be in there, as .bmp for small preview images, and JPEG or PNG for the full-size original image.
It works this way because the new MS Office format is a zip file of an MXL archive. When you open the archive you have access to all the elements that are used in the document.

Hopefully this will make it easier to extract pictures when you want to post them to the forum.

Re: Extracting images from .docx (and other MS Office) files

Posted: Fri Sep 26, 2014 8:38 pm
by Martin Pansch
Keith, I am embarrassed at how long it took me to figure it out even with instructions...

Re: Extracting images from .docx (and other MS Office) files

Posted: Sat Sep 27, 2014 5:52 pm
by KNelson
Don't feel bad,I was writing them late at night, and I know my phrasing was poor in several parts.

The best way to extract images from older MS Word documents is to save it as a webpage (or "save as HTML").This will save an HTML document with an attached images folder, which in turn will contain the images (once again as a small placeholder, and something more like the original image size).