Skip to content
heic.fyi

Learn

HEIC vs RAW on iPhone: ProRAW, 48 MP, what to use

HEIC is a finished photo; RAW is the material to make one. On an iPhone, shoot HEIC for almost everything and ProRAW when you will edit hard. Apple says a ProRAW file is 10 to 12 times larger than HEIF or JPEG, and a HEIC is not a raw format at all. Below: what each stores, a measured edit test on real files, which models offer what, and when 48 MP is worth it.

By the heic.fyi teamUpdated 13 min read

Key takeaways

  • HEIC is not a RAW format. It stores a photo that has already been processed and lossy-compressed. Apple ProRAW is a DNG file that keeps more of the data and the edit instructions, at about 25 MB (12 MP) or 75 MB (48 MP) according to Apple.
  • What you gain is editing headroom. In our test, pushing shadows up 2 stops on an 8-bit file left 128 of the 224 tonal steps the raw data gave; a 10-bit file kept 221. Highlights the processed photo had clipped could not be brought back from either HEIC.
  • It is not about compression. An 8-bit lossless PNG lost the same tonal steps as our 8-bit HEIC. Bit depth and the baked-in tone curve matter more than HEVC.
  • ProRAW is Pro-only. Apple's Tech Specs list it on iPhone 12 Pro and later Pro models, up to the iPhone 18 Pro. 24 MP and 48 MP HEIF are on every model from iPhone 15 on, including the iPhone 17.
  • 48 MP is for cropping and printing, not for sharing. Apple calls 24 MP the practical default; 48 MP HEIF (HEIF Max) is opt-in.
On this page
  1. Should I use HEIC or RAW on my iPhone?
  2. Is HEIC a RAW format?
  3. HEIC vs RAW: file size
  4. HEIC vs RAW quality: what survives an edit?
  5. HEIC 48 MP vs 24 MP: is the extra resolution worth it?
  6. Which iPhones have ProRAW, 48 MP and 24 MP?
  7. HEIC vs DNG: what is the difference?
  8. When is each the right choice?
  9. How we tested

Should I use HEIC or RAW on my iPhone?

Use HEIC. It is the default (Apple calls it High Efficiency), it is the smallest, and Apple's processing is already tuned to make it look good. Switch to ProRAW for single shots you plan to edit properly: a sunset with a black foreground, a backlit face, a window in a dark room. Use 48 MP only when you know you will crop hard or print large. If you are unsure, shoot HEIC; you can always shoot ProRAW next time, but you cannot add the data to a HEIC you already took.

iPhone: HEIC or ProRAW?A four-step decision ladder. For everyday shots, sharing and saving storage, stay on HEIC (High Efficiency). To crop in hard or print large, choose 48 MP HEIF. For difficult light that you plan to edit heavily, shoot ProRAW, on Pro models only. If you need both a big crop and heavy edits, shoot ProRAW at 48 MP, which Apple says is about 75 MB a photo.1Everyday shots, sharing, storage→ HEIC, High EfficiencyApple: ProRAW is 10 to 12 times larger2Cropping in hard, or printing large→ 48 MP HEIFHEIF Max, or Resolution Control3Hard light you will edit heavily→ ProRAW at 12 MPPro models only; about 25 MB (Apple)4A big crop and heavy edits→ ProRAW at 48 MPAbout 75 MB a photo (Apple)
A decision ladder. File sizes are Apple's: 10 to 12 times larger than HEIF or JPEG for ProRAW, about 25 MB at 12 MP and 75 MB at 48 MP. Source: Apple Support, About Apple ProRAW.

Is HEIC a RAW format?

No. HEIC is a container (HEIF) holding a picture compressed with HEVC. By the time it is saved, the camera has chosen the white balance, the tone curve, the sharpening and the noise reduction, and the compression has discarded detail you are unlikely to miss. Apple's own engineers describe the processed HEIC or JPEG as the finished image: “you get a final image baked by Apple”, with a small file size “because it uses advanced lossy compression”. They call a raw file the opposite: the recipe rather than the cake.

From sensor to file: what a raw file, ProRAW and HEIC each keepThree stages. A Bayer raw file stores one colour per photosite in linear light, before white balance, tone curve or noise reduction. Apple ProRAW stores demosaiced RGB after frames are fused, as 12-bit linear values with lossless compression, and keeps the tone map and semantic masks as instructions you can change. A HEIC stores the finished picture: white balance, tone, sharpening and noise reduction are applied and baked in, at 8 or 10 bits with lossy HEVC compression. Each step down makes the file smaller and leaves less to change later.Bayer raw.dng .cr3 .arw .nef …One colour per photosite, linear lightNothing decided yet: no white balance,no tone curve, no noise reductionCompression varies by cameraiPhone: demosaic, fuse framesApple ProRAW.dngDemosaiced RGB, frames already fused12-bit, lossless, linear (companded)Tone map and masks kept as instructionsLossless, 10–12× a HEIF (Apple)Apply the look, then compressHEIC (processed photo).heicWhite balance, tone, sharpening andnoise reduction applied and baked in8- or 10-bit, 4:2:0 colourLossy HEVC compression
Three points on the road from sensor to file. ProRAW sits in the middle: it is demosaiced and already fused from several frames, but kept linear, lossless and adjustable. Sources: Apple WWDC21 session 10160 and Apple Support; the Library of Congress for DNG.

What does “raw” mean?

A camera sensor records one colour per photosite behind a Bayer colour filter. A traditional raw file stores those values nearly as measured, in linear light, before any look is applied. Software then “demosaics” them into full-colour pixels. DNG, Adobe's open raw format, is a TIFF-based file that can hold that data with lossless compression; the Library of Congress (opens in a new tab) also notes it can hold linear raw data that has already been demosaiced.

Apple ProRAW is the second kind. Apple says it “combines the information of a standard RAW format along with iPhone image processing”. In Apple's WWDC 2021 session, the engineers say its pixels are scene-referred and linearisable, “may be generated from multiple demosaiced exposures combined with image fusion”, and stored as “losslessly compressed 12-bit RGB” using a companding curve, so that it can reach up to 14 stops of dynamic range. It is a standard DNG, so apps that read DNG can open it, though Apple warns it “might look different than expected” in an app that does not support ProRAW.

We looked inside a real one. The iPhone 12 Pro sample we tested (taken on iOS 14.3, in 2020) lists a 4032 × 3024 main image of 12 bits per sample, three samples per pixel, marked “Linear Raw”, stored as tiles with lossless JPEG compression, plus an 8-bit JPEG preview and a smaller 8-bit image. That is Exif data published with the sample, not something we decoded ourselves. It is not a Bayer mosaic.

HEIC vs RAW: file size

Apple's ProRAW article (opens in a new tab) says ProRAW files are “10 to 12 times larger than HEIF or JPEG files”, at about 25 MB for a 12 MP photo and 75 MB for a 48 MP one, and warns you may run out of space quickly or need a bigger iCloud plan. Our sample is a 29.2 MB DNG, in the same range. For comparison we rendered it and saved it other ways.

File sizes of one 12-megapixel photo stored six waysBar chart on a linear scale for an iPhone 12 Pro ProRAW sample, 12.2 megapixels. Uncompressed 16-bit RGB would be 73.2 megabytes. The ProRAW DNG is 29.2 megabytes. An 8-bit lossless PNG is 17.1. JPEG at quality 90 is 2.47. A 10-bit HEIC is 2.15 and an 8-bit HEIC is 2.14, each about one-fourteenth of the DNG.Uncompressed 16-bit RGBcomputed, 6 bytes a pixel73.2 MBProRAW DNG (the file)as downloaded29.2 MB8-bit PNG, losslessour render17.1 MBJPEG, quality 90our render2.47 MBHEIC, 10-bitx265 quality 602.15 MBHEIC, 8-bitx265 quality 602.14 MBLinear scale. HEIC size was set from Apple's ratio.
One 12.2 MP photo, six ways (linear scale). The DNG is the downloaded sample; the 16-bit figure is computed; the rest are ours. We chose the HEIC quality so the file lands near 1.5 bits per pixel, which follows from Apple's ratio, so the roughly 13× gap is not an independent finding. What is independent: of that gap, about 8× is the step from lossless PNG (17.1 MB) to HEIC, and under 2× the step from the 12-bit DNG to the 8-bit PNG. Going lossy, not the rendering, saves most of the bytes.
29.2 MB
ProRAW DNG, 12.2 MP

iPhone 12 Pro sample, raw.pixls.us (CC0)

2.14 MB
our 8-bit HEIC of it

x265 quality 60, 1.41 bits per pixel

17.1 MB
8-bit lossless PNG

same rendered picture

73.2 MB
16-bit RGB, uncompressed

computed: width × height × 6 bytes

HEIC vs RAW quality: what survives an edit?

At the size you view it, a HEIC and a raw file rendered to the same look are hard to tell apart. The difference appears when you change the picture afterwards. We tested the two most common edits on each file, applying the same change to the raw data and to the stored copies in linear light, then comparing each result with the raw edit.

Lifting shadows

Four crops of dry grass and leaves on the ground after a two-stop shadow lift. Top left: edited from raw data, crisp. Top right: edited from an 8-bit lossless file, also crisp. Bottom: edited from 8-bit and 10-bit HEIC, with softer fine twigs.
Shadows +2 EV, iPhone 12 Pro ProRAW. Top row: edited straight from the raw data, and from an 8-bit lossless PNG of the processed photo. Bottom row: from our 8-bit HEIC (2.1 MB) and our 10-bit HEIC (2.2 MB). The two HEIC panels lose fine twigs and edges that the first two keep. 100% pixels from a 700 × 525 region, 351 × 262 shown. Photograph: raw.pixls.us file 4264, CC0.

Two different things went wrong, and the numbers separate them. Compression softened fine detail in both HEIC files: SSIMULACRA2 scored them 80.4 (8-bit) and 81.5 (10-bit) against the raw edit, where the lossless 8-bit file scored 96.3. Bit depth shows up as tonal steps: in this crop the raw data gave 224 distinct levels after the push, the 8-bit lossless file only 128 and the 8-bit HEIC 127, while the 10-bit HEIC kept 221.

Tonal steps left in a shadow crop after pushing the exposureDistinct green-channel levels in a 700 by 525 pixel shadow crop after the same exposure push, out of 256 possible. iPhone 12 Pro ProRAW sample with shadows up 2 stops: the raw data gives 224 levels, an 8-bit lossless file 128, an 8-bit HEIC 127 and a 10-bit HEIC 221. Pixel 8 Pro sample with shadows up 3 stops: raw 230, 8-bit lossless 96, 8-bit HEIC 97, 10-bit HEIC 228. Storing the photo in 8 bits keeps roughly half of the steps; 10 bits keeps nearly all.iPhone 12 Pro ProRAWshadows +2 EVRaw data2248-bit lossless128HEIC 8-bit127HEIC 10-bit221Pixel 8 Pro DNGshadows +3 EVRaw data2308-bit lossless96HEIC 8-bit97HEIC 10-bit228Distinct green levels in the crop, out of 256.
Distinct tonal levels in a shadow crop after the same exposure push. Storing the rendered photo in 8 bits, whether lossless or HEIC, keeps only 128 of 224 steps in the first crop and 96 of 230 in the second; 10 bits keeps nearly all of them. Fewer steps means banding in smooth gradients such as dusk skies.
Four crops of a dark pine tree and bright reflections after a three-stop shadow lift. All four look alike at this size.
Shadows +3 EV, Pixel 8 Pro DNG. Same four panels. At 100% the four look alike to us; the difference is in the numbers: SSIMULACRA2 against the raw edit was 93.9 for the lossless 8-bit file, 81.3 for 8-bit HEIC and 87.5 for 10-bit HEIC, and the levels were 230 (raw), 96, 97 and 228. Photograph: raw.pixls.us file 7751, CC0.

Pulling highlights back

Four crops of blue sky and a wispy cloud after pulling the exposure down by one and a half stops. In the raw-data panel the cloud shows fine texture. In the three stored-file panels the cloud is flat grey.
Highlights −1.5 EV, iPhone 12 Pro ProRAW. Top left: edited from raw data, where the cloud still has texture. The other three (lossless PNG, 8-bit HEIC, 10-bit HEIC), made from the processed photo, show flat grey cloud. The lossless file fares no better than the HEICs because the loss happened when the photo was rendered, not when it was compressed. Region 700 × 525, 351 × 262 shown.

This is the strongest argument for raw, and it has nothing to do with HEVC. When we rendered a finished photo we let 0.5% of pixels clip to white, as a camera tone curve often does. In the iPhone sample the raw data was unclipped for 99.7% of those pixels, so the detail existed in the DNG and was gone from every stored copy. SSIMULACRA2 in that crop was 45.7 for the lossless file and 45.0 and 45.6 for the HEICs: all equally far from the raw edit. Where the render had not clipped, as in the Pixel 8 Pro highlight crop, the stored copies stayed close (91.6 lossless, 90.1 for 8-bit HEIC, 91.2 for 10-bit).

Measured results: each stored copy against the same edit applied to the raw data
EditRaw levels8-bit losslessHEIC 8-bitHEIC 10-bit
iPhone ProRAW, shadows +2 EV224 levels128 levels · score 96.3127 · 80.4221 · 81.5
iPhone ProRAW, highlights −1.5 EV88 levels63 · 45.763 · 45.064 · 45.6
Pixel 8 Pro DNG, shadows +3 EV230 levels96 · 93.997 · 81.3228 · 87.5
Pixel 8 Pro DNG, highlights −1.5 EV156 levels155 · 91.6155 · 90.1155 · 91.2
File size: iPhone sample (12.2 MP)29.2 MB DNG17.1 MB2.14 MB2.15 MB
File size: Pixel sample (50.1 MP)45.1 MB DNG38.0 MB8.56 MB5.96 MB

Levels are distinct green-channel values in the crop; scores are SSIMULACRA2 (opens in a new tab) of the crop against the raw edit (70 is “high quality”, 90 “visually lossless”). HEIC quality 60 (iPhone sample) and 72 (Pixel sample); the 10-bit file was smaller than the 8-bit at the same setting for the Pixel sample and we did not investigate why. Two images show a mechanism, not a rule.

What about the iPhone's own HEIC? We found no Apple page that states its bit depth, so we cannot say how it would score. The WWDC engineers note that ProRAW's “extra precision” makes it worth saving to “10-bit deep HEIC files” in your own code, which suggests the choice exists. To check a photo you already have, the HEIC Inspector reports the bit depth read from the file.

HEIC 48 MP vs 24 MP: is the extra resolution worth it?

From iPhone 15 on, Apple's Tech Specs list the Main camera with “super-high-resolution photos (24MP and 48MP)”. Apple introduced 24 MP as the default on the iPhone 15 Pro in September 2023, “offering incredible image quality at a practical file size ideal for storing and sharing”, and said 48 MP HEIF gives pro users “more flexibility to reframe their photos while retaining great resolution”. You can change the default under Settings > Camera > Formats > Photo Mode (12 MP or 24 MP), and turn on Resolution Control there to get 48 MP. Apple documents HEIF Max, which gives up to 48 MP, as a format you choose in the Camera app on iPhone 14 Pro and later Pro models with iOS 17.

What it costs: one fixed HEIC quality at three sizes
PixelsHEIC fileBits per pixelAgainst 12 MP
12 MP (4000 × 3000)322 kB0.2151×
24 MP (5657 × 4243)503 kB0.1681.56×
48 MP (8000 × 6000)842 kB0.1402.6×

Our measurement, not Apple's. One 50 MP Pixel 8 Pro photo cropped to 48 MP and Lanczos-resized to 24 and 12 MP, each saved as 8-bit x265 HEIC at quality 50. Downsizing smooths noise, which flatters the smaller files. Apple's ProRAW sizes are less forgiving: 25 MB at 12 MP, 75 MB at 48 MP, 3× for 4× the pixels.

Four times the pixels cost 2.6 times the bytes in our test, so a 48 MP HEIC is much heavier than a 24 MP one, but not four times heavier. Whether it is worth it depends on what you do with it. A 24 MP image already has roughly three times the pixels of a 4K screen. Choose 48 MP when you want to crop to a distant subject, or print large. Apple's tech specs also tell you where it is offered: the iPhone 17 Pro lists 24 and 48 MP photos on the Main camera and 48 MP on the Ultra Wide, and the iPhone 17 lists 24 and 48 MP on its Main and Ultra Wide.

Which iPhones have ProRAW, 48 MP and 24 MP?

Which iPhones offer ProRAW, 48 MP and 24 MP photosFrom Apple's Tech Specs pages. ProRAW: iPhone 12 Pro, 13 Pro, 14 Pro, 15 Pro, 16 Pro, 17 Pro and 18 Pro models; not iPhone Air, 17, 17e, 16, 16e, 15 or 14. 48 MP photos: every model from iPhone 15 on, plus iPhone 14 Pro. 24 MP photos: every model from iPhone 15 on; iPhone 14 Pro's page does not list them. iPhone 14, 13 Pro and 12 Pro take 12 MP photos.ProRAW48 MP24 MPiPhone 18 Pro, Pro MaxiPhone 17 Pro, Pro MaxiPhone AiriPhone 17iPhone 17eiPhone 16 Pro, Pro MaxiPhone 16, 16 PlusiPhone 16eiPhone 15 Pro, Pro MaxiPhone 15, 15 PlusiPhone 14 Pro, Pro Maxnot listediPhone 14iPhone 12 Pro, 13 Pro (+ Max)Source: each model's Tech Specs page, Apple Support.
From each model's Tech Specs page on Apple Support, camera section, read on 2026-10-11. A dash means the page does not list it. iPhone 14 Pro lists a 48 MP Main camera without the 24 MP wording; Apple's ProRAW article says standard HEIF is up to 24 MP on 14 Pro and later Pro models with iOS 17, so “not listed” may be a gap in the spec page. We also opened the Pro Max pages for the 12 to 18 generations and the 15 Plus and 16 Plus; they matched their siblings.
  • iPhone 17 Pro and Pro Max. ProRAW; “image formats captured: HEIF, JPEG, and DNG”; 24 and 48 MP photos on the Main camera and 48 MP photos on the Ultra Wide. The Telephoto is a 48 MP, 4× camera; the page does not say its photos are offered at 48 MP.
  • iPhone 18 Pro and Pro Max. ProRAW; the same three formats; 24 and 48 MP photos on all three rear cameras.
  • iPhone 17, Air, 17e. 24 and 48 MP photos on the Main camera (the iPhone 17's Ultra Wide too); image formats HEIF and JPEG only. No ProRAW, no DNG.
  • Resolution is separate from format. Apple's guide lets you set the ProRAW default to 12 MP, 48 MP or “HEIF 48 MP” in Settings > Camera > Formats.

HEIC vs DNG: what is the difference?

HEIC and DNG are not alternatives at the same level
HEICDNG (including ProRAW)
What it isA HEIF container with HEVC-compressed picturesAdobe's TIFF-based raw format; ProRAW is a DNG extension
ProcessingFinished: look, sharpening and noise reduction baked inKept adjustable: ProRAW stores tone-map and masks as instructions
CompressionLossy HEVCLossless (ProRAW uses 12-bit, losslessly compressed, by default)
Bit depth8-bit (heic) or 10-bit and more (heix)12-bit in ProRAW; cameras vary (raw.pixls.us lists 12, 14 and 16-bit files)
Size (12 MP iPhone)About 2 MB in our testAbout 25 MB, per Apple
Opens inApple apps, Safari, Windows with codecsPhotos, Capture One (Apple names it) and other apps that read DNG
Extension.heic.dng

ProRAW is “an extension of DNG”: the Library of Congress describes DNG 1.6 as closely related to it, developed with Apple. Brands and the HEIC / HEIF distinction: HEIC vs HEIF.

Apple's sharing rules affect what you end up with. If you edit a ProRAW photo in Photos and share it, Apple says you share a JPG with your edits, not the DNG; emailing converts it to a smaller JPG; to keep both, import with Image Capture or AirDrop with All Photos Data on. Keep the original DNG. Converting a HEIC to JPEG for sharing is a different problem, covered in HEIC vs JPG, and the HEIC to JPG tool does it in your browser. Going the other way, from a HEIC you already have to a DNG, is covered in HEIC to RAW: it cannot be done, and we tested what a DNG wrapper adds.

When is each the right choice?

A plain guide
SituationShootWhy
Family photos, travel, everydayHEIC (24 MP default)Smallest; Apple's rendering is already good; opens in most apps
Low on phone or iCloud spaceHEIC at 12 MP or 24 MPProRAW is 10 to 12 times larger, and 48 MP costs more again
Strong contrast: sunset, backlit, interiorsProRAWHighlights and shadows the HEIC render already discarded are still in the file
You will crop deep or print large48 MP HEIF, or 48 MP ProRAWMore pixels. ProRAW only if you also edit hard
White balance went wrongProRAWApple: raw gives more flexibility on exposure, colour and white balance
Will not edit, just shareHEICProRAW photos you edit in Photos share as JPG anyway
Need Live Photos, Portrait mode or videoHEICApple: ProRAW does not work with Live Photos, Portrait mode or video (2024 article)
Archiving for decadesKeep the original, HEIC or DNGDo not convert a DNG to HEIC and delete it; that is lossy

Try it here

Check a photo's bit depth and codec

Drop in a HEIC. It is read in your browser; nothing is uploaded.

How we tested

Files. Two raw files from raw.pixls.us (opens in a new tab), both listed as Creative Commons Zero (CC0 1.0) when we checked on 2026-10-11, with SHA-256 checksums in the script: file 4264, an Apple iPhone 12 Pro ProRAW DNG (iOS 14.3, 3024 × 4032, 29.2 MB), and file 7751, a Google Pixel 8 Pro DNG (8160 × 6144, 45.1 MB). Neither shows people.

Development. Each file was developed once with libraw 0.22.1 through rawpy 0.27.1: camera white balance, sRGB primaries, linear 16-bit output, no auto-brightness, highlights clipped at the white level. This linear image stands in for “the raw data” in everything below. It does not apply Apple's own tone map, so it is not the look an iPhone shows.

The stored copies. From the linear data we rendered one “processed photo” with a global recipe: an exposure gain chosen so that 0.5% of pixels clip, then the sRGB curve. We saved it as an 8-bit PNG (lossless), an 8-bit HEIC and a 10-bit HEIC, using pillow-heif 1.8.0, libheif 1.23.4 and x265 4.2 at 4:2:0 and the same encoder quality setting. For the iPhone sample the quality was the highest setting whose HEIC stayed within 1.5 bits per pixel, a figure implied by Apple's statement that ProRAW is 10 to 12 times larger than HEIF and about 25 MB at 12 MP.

The edits. Shadows up 2 stops (iPhone sample) or 3 stops (Pixel sample), and highlights down 1.5 stops, each applied in linear light to the raw data and to each stored copy, then the same tone curve and rounding to 8 bits. Each copy is scored against the raw edit on a fixed 700 × 525 crop: SSIMULACRA2 (third-party Python port ssimulacra2 0.3.0, not the reference tool) and the count of distinct green levels. The crops were chosen by a scan: the window with the most pixels clipped in the render but not in the raw data, and the darkest window with some texture. The panels show the centre 351 × 262 pixels at 100%.

Limits. The HEIC is x265, not Apple's encoder, and the render is a plain global curve, not Apple's pipeline, so none of the scores are iPhone scores. The iPhone sample is a 2020 ProRAW from a 12 MP phone; the Pixel sample is a Bayer file, which shows what ordinary raw gives when no frames were fused (0.34% of its pixels were saturated in the raw data itself, against 0.0016% in the iPhone file). We used sRGB; iPhone HEIC photos can use wider colour. Two images are enough to show a mechanism, not to promise a number for your photos.

Reproduce it. python scripts/benchmarks/heic-vs-raw.py all in the site's repository downloads the two files, verifies them, and writes heic-vs-raw.results.json and the images in public/images/learn/heic-vs-raw/. It takes about ten minutes. The brand-reading steps for the sample files are in HEIC vs HEIF.

Frequently asked questions

Try it yourself

Related reading

Sources

How we research and correct: editorial policy.

Written by the heic.fyi team · Last updated: · Spotted an error? Tell us.