Thursday, May 31, 2018

Batch Extract Image Files from PowerPoint Presentations

After going through a lot of grief with alternate (and unsuccessful) methods to do this task, I ran across this incredibly simple solution for extracting image files from within PowerPoint presentations. (I'm repurposing decades-old PowerPoint presentations with hundreds of images on hundreds of pages, so hand-extracting the content image-by-image, page-by-page is tedious and even physically painful.)

The only minimum requirement is that the PowerPoint files be in .pptx file format (not just .ppt), or access to a version of PowerPoint from Office 2007 or later, which can write .pptx files.

This example is on a Mac, but the same principle works on Windows, all that is required for Windows is an un-ZIP utility.

The solution is SIMPLE. SIMPLE.

  • If the PowerPoint file has a .ppt extension, open it in PowerPoint 2007+ and save it again as .pptx.
    • PPTX files save presentation data as widely-supported XML data structures, compressed in a package using the venerable ZIP archive format.
  • On a Mac, rename the .pptx extension to .zip. The Finder will ask if you’re sure. Click “Use .zip.”
  • Double-click the resulting .zip file. The Finder will uncompress the file into a directory structure. Inside[folder with orig filename]:ppt:media are all the image files in their native formats.


Sunday, May 06, 2018

Quickly Rotate Google Photos with a Keyboard Shortcut

While it's possible to rotate an image in Google Photos by:

  • clicking on the photo's "Edit" icon
  • clicking the  "Crop & Rotate" icon
  • clicking the "Rotate" icon once for every 90 degrees clockwise
  • click "Done"
  • click "Done" (again)

That's an incredibly tedious process, especially if several images need to be rotated.

There is a much simpler procedure. Click on an image in Google Photos, and press [shift]+[R] on the keyboard. The image will rotate 90 degrees counter-clockwise. Repeat the shortcut to rotate another 90 degrees as necessary. The change is committed with no further actions.

Pressing the [left arrow] and [right arrow] keys on you keyboard, you can advance to the previous and next images, and repeat the rotate operation. Thus, you can quickly rotate a number of images.