
Changelog:
v1.01 (Jan 30, 2020) — iOS 13.3.1 fixes a bug that affected the way Share Sheet imports had to take you out of the Photos app and into Shortcuts. So this is now simplified. Also added emoji graphics to make the main menu fancier.
v1.02 (Sep 5, 2020) — Updated to fix the shortcut stalling at deletion of original photos after processing. Apple changed some behavior in the Shortcuts.app.
Summary
HEIFer is a shortcut for iPhones and iPads (you can import and run it in the Shortcuts app that is part of iOS 13) that automates the batch conversion of photo to HEIF/HEIC formats. This has the benefit of making their files dramatically smaller without any visible loss of image quality.
HEIF stands for High Efficiency Image Format, and Apple introduced support for it in 2017. You can find out more about the format here.
HEIFer has three modes:
- Converting a manual selection of photos
- Scanning the newest 100 photos in your library, and converting any JPEG/PNG/TIFF images it finds
- Converting the last imported batch of photos (from a camera or SD card, using an adapter)
Add HEIFer to your Shortcuts.app here (v1.02)
Why Did I Make This?
This is my first proper iOS Shortcut and I made it to learn the ropes.
I’m kinda all-in on the HEIF format, and if your iPhone is set to save at “High Efficiency” in the Camera section of Settings.app, then you’re already using it for every photo you take. The quality is great, and you can store twice as many photos in the same amount of storage space.
But… I also shoot photos with other cameras, and every manufacturer, from Canon and Nikon to Sony and Leica, seems to be years behind in the software game, and the only options they offer are usually JPEG and RAW. What’s more, the CPUs in these cameras are usually very underpowered compared to what’s in your iPhone, so they don’t try very hard to compress the images efficiently. You can typically turn a 10MB JPEG from your camera into a 3–4MB HEIF file in less than a second. It’s a tremendous waste of space, both on device and in your cloud backups, to keep the JPEGs.

I also edit my photos with iOS apps like VSCO and Lightroom, and almost all of them save the finished photos in JPEG. So if you’re regularly editing your iPhone photos, those small .heic files are still ending up as fat .jpg files at the end of the day. It’s nuts!
So HEIFer is a way to quickly take those old-ass files, bring them into the present, and then dump the originals. For instance, if I’m shooting directly to JPEG on my cameras (why not RAW? That’s a topic for another day), all I have to do is plug in the SD card, select “Import All”, run HEIFer, and I’m done in three taps.
If your photos have proper timestamps, then you will still see them in chronological order in the “Photos” tab. However, if you go into the “Recents” photo album, it will reflect the process of converting and deleting them, i.e. it’ll be as out of order as your recollection of a big night out.
Usage
