惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园_首页
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
美团技术团队
IT之家
IT之家
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
月光博客
月光博客
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
博客园 - 叶小钗
M
MIT News - Artificial intelligence
B
Blog RSS Feed
有赞技术团队
有赞技术团队
Y
Y Combinator Blog

Simply Explained

Converting a Tuya Thermostat to ESPHome Bringing Foam Monsters to Life: How I Wrote and Illustrated a Children's Book Using AI How I Built an NFC Movie Library for my Kids Analyzing Link Rot in My Newsletter (After 31 Editions) How I Use Alfred to Search My Obsidian Notes Faster (with Spotlight!) Year in review: 2022 Smart lights behind a wall switch (Shelly, Z-Wave, ESPHome) Serverless Anagram Solver with Cloudflare R2 and Pages Integrate Home Assistant with Apple Reminders How WebP Images Reduced My Bandwidth Usage by 50% Tracking gas usage with ESPHome, Home Assistant, and TCRT5000 My Sixth Year as YouTube Creator (statistics + retrospective) EZStore: a tiny serverless datastore for IoT data (DynamoDB + Lambda) ESP-IDF: Storing AWS IoT certificates in the NVS partition (for OTA) How to securely access your home network with Cloudflare Tunnel and WARP I Built a CO2 Sensor and It Terrifies Me Filtering spam on YouTube with TensorFlow & AI Building a killer NAS with an old Rackable Server How I Structure My ESPHome Config Files Howto Virtualize Unraid on a Proxmox host MAX17043: Battery Monitoring Done Right (Arduino & ESP32) Preventing Cumulative Layout Shifts with lazy loaded images (Eleventy + markdown-it) Migrating This Blog From Jekyll to Eleventy Good Home Automation Should be Boring ESP32 Cam: cropping images on device Retrospective: My Fifth Year on YouTube Secure Home Assistant Access with Cloudflare and Ubiquiti Dream Machine Shelly 2.5 + ESPHome: potential fire hazard + fix Impact of Adblockers on Google Analytics (vs. Plausible) Shelly 2.5: Flash ESPHome Over The Air!
HEIC to JPG: Build a Quick Action with Automator
Xavier Decuy · 2020-07-08 · via Simply Explained

With the release of iOS 11, Apple switched from JPG to HEIC to store your photos. The High-Efficiency Image File Format saves a lot of storage space on your devices while still maintaining your photos' quality. However, it does become problematic if you want to share those files with people or services that only support JPG.

Here's how to build your own "Quick Action" for macOS that can convert HEIC photos to regular JPG's. No coding required.

Automator, what?

Automator is an app that allows you to automate various tasks on your Mac with a simple drag-and-drop interface. It has been distributed with macOS since Mac OS X Tiger.

Consider it a fancy version of IFTTT. It can take input for several places, perform tasks on them, and produce an output. Exactly what we need to convert HEIC into JPG!

What you'll build

This is what you'll build: a "Quick Action" that integrates with Finder:

Simply right-click some HEIC files and click on "HEIC to JPG" to convert them. Easy!

Building a Quick Action

To get started, open Automator and choose to create a new "Quick Action":

Every Quick Action receives an input. We can configure the input type, so I'll set it to "image files." We don't want to run this action on other file types.

Next, use the search feature to look for the "Change Type of Images" action and drag it to your workflow.

Automator will warn you that this action will change the types of the selected images without preserving the originals. That's exactly what I want to achieve, so click on "Don't Add."

If you choose "Add," Automator will append an action that copies your images to another directory first. Up to you to decide if you want this or not.

Finally, configure the action so that it converts the images to JPG:

Installing your Quick Action

Now you can install the Quick Action on your system. Head over to "File > Export..."

Choose a location where you want to store it (any location is fine) and click on "Save."

Next, go to the place where you save the workflow and double click it:

macOS will now ask you if you want to install your quick action. Click "Install" and that's it!

Usage

Using the Quick Action is super easy.

Select some HEIC files in the Finder > right-click > Services > HEIC to JPG.

After a few seconds, you'll see all HEIC files being replaced by regular JPG's. Ready for you to share them with non-Apple users or on platforms that don't support HEIC.

Download

Don't want to mess around with Automator? Here's a download link for a pre-made version ;)