Once an image is included in a Word document (as opposed to being linked to it), it becomes part of that document. Extracting that image for re-use, is not insurmountable. Some methods are shown below; however let's first investigate a procedure to extract images from Word DOCX and DOCM format documents as created by Word 2007 and later, to a nominated folder on your hard drive.
The attachment when installed in the Word startup folder adds an icon to the Add-Ins tab of the Word ribbon
If you prefer you can simply run the function from the template without installing it as an add-in, either by creating a new document from the template or by opening the template itself.
Running the function presents my usual disclaimer text followed by the main dialog, initially with the Word option selected, but subsequently with the selected option redisplayed, as shown in the illustrations below:
The dialog is self explanatory and the process is extensively error trapped. Basically you select the document you wish to process in the upper text box and the folder where you wish to save the extracted files in the lower text box. It is preferable to use the browse button to select the document, however if you enter a document name incorrectly and that incorrectly named document doesn't exist, the process will warn you of the fact. If it does exist, the incorrectly entered document name will be processed.
If you wish to create a new folder in which to store extracted images, you may enter that manually and the folder created for you. You have the option also to retain the entered folder path for future use.
The Reset button, as its name implies, clears the variable data stored in the template.
Word's new file format is XML and when you save a document in Word 2007/2010's default DOCX format, you are in effect saving a zip file that contains all the elements of the document. You can easily extract the files from that zipped file by opening it with a zip utility such as WinRar or Winzip - or if you change the file extension from DOCX to ZIP recent Windows versions should be able to open it directly.
The image files (provided they are real images and not shapes or autoshapes) are stored in a sub folder called Media and can be extracted and renamed for re-use:
This essentially similar method may be used with Word 2007, but the above method is simpler, so the following is more applicable to Word 2003 and earlier. It relies on the fact that html is also comprised of a number of separate elements, though in this case the folders are not compressed.
The images will be saved in a sub folder of the folder into which the document is saved which will have a name based on the filename chosen i.e. <Filename>_files.
This is the default setting and is controlled from Tools > Options > General > Web Options (see illustration).
Save the document as a webpage (File > Save As). In the following example, I have used the name Extract.htm. The sub folder in this case will therefore be called Extract_files.
The files will not be visible in the 'save as' dialog, but you can view them in the File > Open dialog with the file type set to 'all files' (as below), the Insert Picture dialog or by using Windows Explorer.
The resulting image may not have the resolution of the originally inserted image, but it should produce an acceptable image file.
Word users with PowerPoint can use that application as an aid to extracting images individually with the possibility of improving the resolution compared with the above quick and dirty method.
Select the image in the Word document and paste it into an otherwise blank PowerPoint slide. Right click the resulting image and choose Save as Picture.
This provides the option to save the image in a number of compatible formats of which EMF (Enhance Windows Metafile) may produce the best results.
There are several approaches one can take to extract images from Word documents, much depends on the document format, and in many cases the results may not be identical to the original image.