extraer-imagenes-fichero-office

How to extract all the images from an Office file

  • 1 min

Let’s go with a quick computer trick: how to extract images from a Word, Excel, or PowerPoint file.

Suppose we have an Office document, be it a Word, Excel, or PowerPoint file. And imagine you want to get all the images that are in that document.

In this case, we would normally see the user frantically copying and pasting pictures. But we’re not going to do that, right?… right?? extraer-imagenes-fichero-office-meme

Actually, there is a much simpler and faster way to do it. In reality, all Office files are compressed files in Zip format.

So we just have to change the extension to .zip. For example, if our document is called “my_document.docx”, we would change the extension to “my_document.zip”.

Now we can open the file as we would with any other compressed file. You can use Windows Explorer itself, or the decompression program you normally use.

extraer-imagenes-fichero-office-extract

Inside the file we will find a subfolder called ‘media’. The complete path varies depending on the file type.

  • For Word it will be word/media
  • For Excel it will be xl/media
  • For PowerPoint it will be ppt/media

Inside the ‘media’ folder, we have all the images, videos, or audio files that were embedded in the Office document.

extraer-imagenes-fichero-office-result

Now we just have to extract this file, and we will have all the images that were embedded, at their original resolution.

That’s how easy it is to extract all images from an Office document like Word, Excel, or PowerPoint.