How to Painlessly Extract Images from a Word Document

There are two quick and easy ways to extract images from a Word document. This post goes through the steps to extract them on either your desktop or within InDesign.

Advertisements

In an ideal world, no one would supply a designer solely with images and charts embedded in a Word document. However, this happens regularly – often with the client not having access to the original media.

Screen shot of a Word document with an embedded photo. The photo is selected with a drop down menu with Save As Picture selected. A crying emoji is next to this dialogue box.

Before I came across InDesign Secret’s video and post, I would right click each image and select “Save As Picture”. This was a long and painful process, especially when you had a multitude of images to get through. Fortunately, there is a much faster way to do this!

In the Lynda.com video Extracting images from a Word document, David Blatner and Anne-Marie Concepción from InDesign Secrets share two methods:

Extract images from Word in InDesign:

  1. Place the Word doc
    (File > Place > select the Word doc > click your InDesign page to place it in the file)
  2. Open your Links panel in InDesign
  3. Select the images that were embedded in the Word doc
    (click on the first image, then shift-click on the last image)
  4. Go to the Links panel menu (top right corner) and select “un-embed link”
  5. A window will appear. Click “No”
    (you do not have the original images – if you did you wouldn’t be going through this process)
  6. A window will appear. Create a new folder to store your images
    (press New Folder > type in name > Create > Choose)

Extract images from Word on your desktop:

  1. Make a copy of the Word doc
    (right click the Word document > Duplicate)
  2. Rename the file type from .doc/docx to .zip
  3. A window will appear. Click “Use zip”
  4. Your file will now appear as a compressed file
  5. Double click the file to unzip it
  6. Navigate to the “word” folder within the unzipped folder
  7. Navigate to the “media” folder. There you will see all the images in the Word doc! Other items, such as Excel docs will appear in the “embedding” folder

Troubleshooting:

My folder did not unzip automatically. It turned out that the default program on my computer (Archive Utility) did not work for this task, but another application installed did (The Unarchiver). To get around this problem, I did the following:

  1. Right click your zipped folder
  2. Select “Open With” and select the alternative decompressor app on your computer.

Note, these instructions are for a Mac, but the process is similar on a PC.

How to add ALT text to image metadata

These instructions are written for InDesign users and people working with graphic designers, but could be applied to other applications and fields as well.

Although images cannot carry actual alternative (ALT) text around with them, you can add the ALT text to the metadata of an image to use as you please. This aids in efficiency and reduces chance of error when applying ALT text to images.

This post covers two methods for collaborating with your client/communications on applying image metadata:

  • Adding ALT text to image metadata on their PC (no special software required – free!)
  • Adding ALT text to image metadata using Adobe Bridge (subscription required)

Alternatively, the designer can do the above if the client is unable to.

Followed by three different methods for graphic designers listed below:

  • Applying the image metadata as ALT text manually in InDesign via Object Export Options
  • Applying the image metadata as ALT text in InDesign using a Script (my personal favourite)
  • Applying the image metadata as ALT text in InDesign using Object Styles

Screenshot of image properties, details tab open

Client:

Adding ALT text to the metadata (PC/Windows):

  1. Select your images and write out your alternative (ALT) text.
  1. Open the folder where your images are kept (ex: Pictures folder in Windows)
  2. Right click the image
  3. Select “Properties” from the drop-down menu.
  4. Click the “Details” tab.
  5. Paste your ALT text into the “Title” input field of the photo
  6. Click OK (this will save the metadata)
  7. Send the photos with the metadata to your Designer/Design Request. Inform your designer that you have put the ALT text in the Title/Description field of the photo’s metadata.

Note: Instructions above written for Windows 7 users.

Faster Alternative: Adobe Bridge

If your client has an Adobe Creative Suite license, they can do these steps faster in Adobe Bridge, where they would put the ALT text in the Description OR Headline field of the image metadata.

Screenshot of the script panel in InDesign and ALT text script dialogue box

Designer:

Below are instructions on 3 different methods to apply image metadata to your images as ALT Text within InDesign: using a script, doing in manually, or using Object Styles. Choose the one that works best for you:

Applying ALT text with a script

  1. Confirm you are using the photos with the metadata (can double check by opening in Adobe Bridge – text will likely be in the Description field)
  2. Run the ApplyALTfromXMP script
  3. Confirm the ALT Text Source is “XMP: Description” (or wherever else the ALT text is saved)
  4. Click OK
  5. If successful, you will get a dialogue box with total number of images processed displayed. Click OK.
  • If you do not get the quantity you were expecting, confirm the location of the ALT text in the metadata.
  • If you do not get a dialogue box, something is wrong with the script and you’ll need to troubleshoot.

ALT Text Script:

If you do not have the ALT text script installed, you will need to install it yourself. Instructions and free download are at Batch Apply XMP ALT Tags to EPUB and HTML Images

Screenshot of the object export options window in InDesign

Applying ALT text manually

  1. Confirm you are using the photos with the metadata (can double check by opening in Bridge – text will likely be in the Description field)
  2. In Design, select the photo
  3. Go to Object in your top navigation bar
  4. Select Object Export Options from the dropdown menu
  5. Confirm you are in the ALT text input area
  6. Click “Text Source”
  7. Select “Description” from the dropdown menu
  8. Click “Done”

Note:

Skip Step 3 and 4 by using the Option Export Options key command Opt+X (if not default on your system, you can set up a custom key command to speed things up)

Screenshot of the Object Style Options window in InDesign

Using Object Styles for ALT Text

If you are using Object Styles in your document (great for long docs!), you can also automate the ALT text there.

  1. Create an Object Style.
  2. In the Object Style’s export options, you will see ALT Text, Tagged PDF, and ePub. Select desired option.
  3. From the dropdown menu, select  “From XMP: Headline” (or wherever you’ve stored your ALT text)
  4. Click OK to apply the changes.

Now, if you check the Object Export Options of your image that style is applied to, the ALT text should be there!

Scripts for InDesign: Accessibility

Adobe InDesign is a common application used by graphic designers.

Scripts can be used in InDesign to help designers make accessible documents, and to speed up some tasks. Below are some free scripts that I have found beneficial:

Accessibility

This add-on by Stephane Baril allows for easier access to the necessary items to set up a tagged document in InDesign (CS5+).

Its also great when teaching yourself or others the steps to create accessible documents in InDesign.

Note: This requires an Adobe  Creative Cloud subscription.

Batch Apply XMP ALT Tags to EPUB and HTML Images

This Script by Marijan Tompa is very handy if you work for someone who puts the ALT text for Images in the XML: Headline or somewhere else in the metadata of an image. Instead of applying the ALT text to each individual image through Object Export Options, you can run this script to do it for you.

Note: When I tried to run this in CS6, the Script did not work unless I moved it from the Users folder to the Application folder. See forum post, All InDesign Scripts won’t work for further information on troubleshooting this problem.

Regular installation instructions can be found at How to install scripts in InDesign.

Resources

If you are looking for general information on creating accessible documents in InDesign, I suggest: