Stop your iPhone saving HEIC, and convert the ph...

Stop your iPhone saving HEIC, and convert the photos you already have

By Mozex
6 min read
Bar chart: an iPhone 12 Pro HEIC of 1.96 MB and four JPGs made from it: jpegli at quality 90, 1.50 MB, score 79.0; heif-dec at 90, 2.23 MB, 82.3; jpegli at 95, 2.48 MB, 84.5; ImageMagick at 92, 2.60 MB, 84.4
On this page

An iPhone saves its photos as HEIC unless you tell it not to. To make it save JPG instead, open Settings, tap Camera, tap Formats and choose Most Compatible. That changes new photos only: everything already on the phone stays HEIC, and those files need converting.

We converted three HEIC photos taken on an iPhone 12 Pro to see what that costs. In the table below, the JPGs came out anywhere from 24% smaller to 61% bigger than their HEICs, and by default two of the three converters we tried kept the photo's GPS location.

How to turn off HEIC on your iPhone

Apple's page on HEIF and HEVC media gives the steps:

  1. Open Settings.
  2. Tap Camera, then Formats.
  3. Tap Most Compatible.

From then on, in Apple's words, "all new photos and videos will now use JPEG or H.264 format", so videos change too. To go back, choose High Efficiency on the same screen. Apple's guide to moving photos to a computer, published 14 September 2026, recommends the same switch for "the best compatibility with Windows".

The price is storage. Apple says HEIF and HEVC "use less storage space on your devices and iCloud Photos, while preserving the same visual quality", and gives no figure. We don't give one either: the numbers below are for converted files, not for photos taken in Most Compatible mode.

Keep HEIC and let the iPhone convert on the way out

If you'd rather keep the smaller files on the phone, Apple's HEIF page lists two places where the iPhone may convert for you:

  • Importing over a USB cable into Photos, Image Capture or a PC: the photos "might be converted to JPEG or H.264". Apple's way to stop that is to tap Keep Originals under Settings, Apps, Photos, so avoid that option if you're hoping for JPGs.
  • Sending by AirDrop, Messages or email to a device that doesn't support the format: the photo "might automatically be shared in a more compatible format, such as JPEG".

How to convert the HEIC photos you already have

On a Mac. In the Finder, Control-click the photo, choose Quick Actions, then Convert Image (on macOS 27, click More first), and pick JPEG and a size. That's from Apple's Mac User Guide, which uses "an .heic photo from your iPhone" as its example. In Photos or Preview, File > Export does the same.

On Windows. Before it can show a .heic file, Windows needs the free HEIF Image Extension from the Microsoft Store, and its listing says an HEVC package "must be installed" too. If it still can't show the file with only the HEIF extension installed, add the HEVC package the Store sells, HEVC Video Extensions, $0.99 on 23 September 2026. The browser route below needs neither add-on.

In a browser, on a computer or on the iPhone itself. Iminify's HEIC to JPG page opens with JPG and the Smart level already selected:

  1. Drop your HEIC files on the page. A guest can convert 10 a day, up to 16 MB each.
  2. Leave Keep EXIF off to remove the location, date and camera details, or turn it on to keep all three.
  3. Download the JPGs one at a time or as a single zip.

We didn't run the Mac or Windows routes. The measurements below come from two command-line converters and from the encoder Iminify uses.

Is the JPG bigger, and does it lose quality?

It depends on the quality setting. At the quality setting our replay of Iminify's Smart search picked, our three test photos came out 14% to 24% smaller as JPGs; at quality 95 they came out 26% to 61% bigger. None of the JPGs we scored reached a score of 90 on the SSIMULACRA 2 scale, the mark the metric's documentation calls visually lossless.

Our test files are three sample HEICs from heic.digital, shot on an iPhone 12 Pro running iOS 16.7 and 16.7.1, 3024 by 4032 pixels. We decoded each one the way Iminify does, encoded JPGs with jpegli (Iminify's JPEG encoder), and scored every JPG against the HEIC's own pixels on the SSIMULACRA 2 scale. The metric's README calls 80 "very high quality", with distortion "not noticeable by an average observer in a side-by-side comparison at 1:1". Sizes are in millions of bytes.

Photo HEIC JPG, Smart's search Score JPG at quality 95 Score
Classic car 1.961 MB 1.495 MB (quality 90) 79.0 2.476 MB 84.5
Greyhounds 1.721 MB 1.349 MB (quality 83) 80.2 2.764 MB 87.6
Old safe wall 2.833 MB 2.438 MB (quality 90) 82.7 3.733 MB 87.0

The middle columns replay Iminify's Smart level. It looks for the lowest JPG quality, up to 90, that keeps 40 dB of PSNR, a pixel-by-pixel error measure; the old safe wall didn't reach 40 dB even at 90, so it got the ceiling. We ran that search ourselves with the same encoder and settings. On photos this size Smart skips its second, perceptual check, which runs only under 8 megapixels, and these are 12.2 megapixels (why there are two checks).

The two command-line converters pick their own quality. On the classic car, ImageMagick 7.1.2 at its default of 92 wrote 2.599 MB (score 84.4), and libheif's heif-dec 1.19.8 at quality 90 wrote 2.232 MB (score 82.3), against 1.495 MB from jpegli at 90. Part of that gap is the quality number, which doesn't carry from one encoder to another, as we found comparing four of them at quality 80. Part is colour detail: ImageMagick kept it at full resolution (4:4:4), where jpegli and heif-dec stored it at half the width and half the height (4:2:0).

Does the JPG keep your location, and is it upright?

All three HEICs carry the GPS position where they were taken. ImageMagick and heif-dec copied it into every JPG they wrote, along with the camera model and the date. Iminify removes it unless Keep EXIF is on; we checked both settings on the live page with the classic car. If you're converting photos to post or send, look at the JPG's details before you share it.

Orientation held up better. All three files store the picture sideways, plus an instruction to rotate it for display. Every converter we tried wrote an upright JPG and left no sideways instruction behind, so nothing came out on its side.

Questions this post answers

Share this post

Share on X
Share on Facebook
Share on LinkedIn
Share on Reddit
Share on Hacker News
Email
Copy link
Link copied
Bar chart of file sizes for a photo at four print sizes, 8x10 to 24x36. PNG bars run from 11.3 to 70.6 MB and JPEG bars from 1.4 to 6.5 MB, with a dashed line at Etsy's 20 MB limit.

How many pixels does an AI print need? 300 per inch, and at 16x20 our PNG is over Etsy's download limit

The usual answer is 300 pixels per inch of print: 2400 x 3000 for an 8x10, 4800 x 6000 for a 16x20, 7200 x 10800 for a 24x36. A square Midjourney 8.2 HD image is 2048 x 2048 and a square Gemini 4K image is 4096 x 4096, so neither reaches a 16x20 at that rate without more pixels. (Shops write DPI. Here it means pixels per inch of print.) From a 4K Gemini picture we made 16x20 files of 4800 x 6000 pixels: the PNG is 35.8 MB, over Etsy's 20 MB per file for digital downloads, and the JPEG is 3.6 MB.

7 min read
Two rows of seven squares, one per test post. After the default wp media regenerate, four squares are red and read 404 and three read 200; after --skip-delete and the rewrite, all seven read 200.

Convert your existing WordPress images to WebP without a plugin: what regenerate breaks

On a WordPress 7.1.4 test site, one filter and wp media regenerate turned the resized copies WordPress makes of five full-colour (4:4:4) photographs into WebP files with 62.5% of the JPEG copies' bytes. All 25 WebP copies, five sizes of each photograph, also scored lower. The filter and regenerate also left four of our seven test posts pointing at copies WP-CLI had just deleted, and took the srcset off all seven inserted images that had one. The version below leaves no address broken and gives six of those seven their srcset back: the filter, regenerate with one flag, and a rewrite that changes an address only where a WebP exists. The recipe as printed needs WP-CLI and a shell on the server.

8 min read
Bar chart of bytes Chrome downloaded at phone size for five 4K JPEGs on a Next.js static export page: 55.2 MB as they are, 10.2 MB as Smart JPG at full size, 1.29 MB at 1200 px wide, 767 KB through next-image-export-optimizer.

Next.js static export images: the default loader breaks them and unoptimized ships the original

We built a page with five photographs in a Next.js 16.4.3 App Router app, set output: 'export', left the image settings alone, and next build finished with exit code 0. In Chrome none of the five images loaded: every src pointed at /_next/image, an endpoint a static export doesn't contain. Setting images: { unoptimized: true } fixes that, and the export then serves the file you put in public/. Chrome at phone size downloaded 2.4 MB for five 1800 px photographs, and 55.2 MB when the same page held five 4K Gemini JPEGs. This post compares that flag, next-image-export-optimizer and resizing the files first by what Chrome downloaded at phone size and at desktop size. The table is in the second section, and the choice we'd make follows the three options.

7 min read

Try it on your own images

Drop a photograph in, pick Smart, and compare the result with the original before you download. Free, no account needed.