ShareShortcuts

HEIC and delete

gmaximus
Fork “HEIC and delete”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so gmaximus gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
40K
Saved
1
Actions
12
Category
Photos and videos
Version
1.0
Language
EN

Convert RAW DNG images and screenshots to HEIC

For those who deal with lots of RAW DNG images, screenshots, large JPEGs: this shortcut will neatly convert them into much smaller iOS-native HEIC images (compatible with Win10/11) and save lots of space.

- PNG screenshots to HEIC: 4-9 to 0.2-0.3 Mb

- DNG to HEIC (12 Mpix): 20-30 to 1-3 Mb.

- DNG to HEIC (48 Mpix): not tested, please give a feedback.

Choose your images, tap "Share", tap "HEIC and delete". You will be prompted whether you'd like to continue (1), pick your album to save (2), and delete original files (3).

Image-only files are processed; videos and HEIC files are ignored.

If you're using apps like Lightroom to process RAW images, then you'll be able to convert Lightroom's exported JPEGs to HEIC and delete those JPEGs along with DNG source files, retaining a copy of each JPEG and DNG.

If you don't need Lightroom-like apps, this shortcut converts DNGs directly to HEIC. In such a case, the default Iphone's image processing will be applied. Thus, starting from iPhone 14 Pro series - users can easily have 48Mpix images in small sizes, shoot in RAW and convert.

Tips:

- Conversion of small-sized and super-low-quality JPEGs has no benefit on file sizes.

- Type 'RAW' in Photos app to find images in RAW DNG format.

Issues:

- As of iOS 16.0.2, burst-shot JPEGs generate a shortcut error, even if saved as a single-image JPEG.

What's New

Version 1.0

First release

Version History
1.0 Sep 25, 2022

First release

What it does

12 actions
  1. Filter Images
  2. Set Variable
    ImpFiles
  3. If
  4. Count
  5. Show Alert
    Proceed?
  6. If
  7. Show Notification
    No applicable images found.
  8. Stop This Shortcut
  9. Convert Image
  10. Save to Photo Album
  11. Delete Photos
  12. Text

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define color taupe
#define glyph signs

const  = rawAction("is.workflow.actions.filter.images")
@ImpFiles

if @ImpFiles {
	count(@ImpFiles)
	alert("({} images)", "Proceed?")
} else {
	showNotification("No applicable images found.", false, @ImpExt)
	stop()
}
const 1 = convertImage(, "HEIF")
savePhoto(1, Ask)
deletePhotos(@ImpFiles)
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement