Portrait Mode Photos: What the Depth Map Is and What You Lose

An iPhone Portrait Mode file is not a single flat picture. It is a container holding the sharp original, the blurred version, and the greyscale maps that separate your subject from the background.

No file upload Keeps current blur Flattens depth layers

Converting a Portrait Mode HEIC to a standard JPG flattens the image permanently. The JPG you get back looks identical to what you see on your iPhone screen, with the background blur locked into the pixels.

You lose the ability to adjust the f-stop slider or change the focus point later. Standard browser decoders only read the primary rendered image and discard the hidden auxiliary depth and matte layers.

Do all your lighting, focus, and depth edits on your phone before you convert. Once the file becomes a standard JPG, no photo editor can un-blur the background or move the subject focus.

What is actually inside a Portrait Mode HEIC

When you shoot in Portrait Mode (or regular Photo mode when the iPhone detects a person, dog, or cat on iPhone 15 and newer), iOS writes a multi-image HEIF container. The primary image item is the finished photo with the simulated shallow depth of field already rendered.

Alongside that primary image, the file stores several hidden auxiliary image items. The most important is the disparity depth map, tagged internally as urn:com:apple:photo:2018:aux:portraiteffectsmatte or the older depth URN. It is a lower-resolution greyscale grid where brighter pixels represent objects closer to the lens and darker pixels represent the background. Newer iPhones also save separate semantic segmentation mattes for hair, skin, teeth, and glasses so the blur does not accidentally chew into fine edges. While transparent HEIC files use a single alpha channel to cut out an object completely, Portrait Mode uses these multiple greyscale mattes to calculate variable blur gradients.

Why converting to JPG bakes the blur in

The traditional JPEG specification (JFIF) was built for a single 8-bit image grid. While Apple can cram depth maps into a proprietary JPEG wrapper using specific APP-marker metadata segments when you share between Apple devices, standard web converters and desktop upload forms do not use Apple's proprietary multi-picture extensions.

When you drop a Portrait HEIC into a standard converter, the decoder requests the primary image item from the HEIF container. In an iPhone Portrait file, the primary item is always the rendered, blurred version. The unblurred base photo and the auxiliary greyscale maps are ignored during decoding. The resulting JPG contains only the flattened pixel grid.

Component in Portrait HEICKept in standard JPG?Practical impact after conversion
Primary rendered image (with blur)YesPhoto looks the same as it did on your phone screen
Unblurred base imageNoYou cannot turn off the Portrait effect later
Disparity depth mapNoYou cannot slide the f-stop from f/1.4 to f/16
Hair, skin, and glasses mattesNoPortrait Lighting effects (Studio, Contour, Stage) cannot be re-applied

How to adjust depth and focus before you convert

Because the converter will freeze whatever render is currently active as the primary image, you must make your depth adjustments in the iOS Photos app or macOS Photos before exporting the file.

  1. Open the photo in the iPhone Photos app and tap Edit.
  2. Tap anywhere on the image preview to move the yellow focus box to a different face or object (supported on iPhone 15 and newer, or iOS 17+ when shot with depth data).
  3. Tap the f-number button in the top-left corner to open the depth slider below the photo, then drag left for stronger blur or right to sharpen the background.
  4. If the background blur looks artificial around hair, tap the yellow Portrait pill at the top of the screen to turn the depth effect off completely, saving the clean unblurred base image as the primary frame.
  5. Tap Done to make iOS re-render the primary HEIC image item with your chosen settings.

Once you tap Done, the file you export from your phone will carry that exact render into the JPG.

How to get both the blurred and unblurred versions as JPG

If you are archiving photos or sending them to a designer who might hate the artificial blur, do not convert just one version. On your iPhone, open the Portrait photo, tap the three-dot menu in the top corner, and choose Duplicate. On the duplicate copy, tap Edit, tap the yellow Portrait badge at the top to disable the blur, and tap Done.

You now have two separate HEIC files: one with the blurred primary image and one with the sharp primary image. Drop both into the HEIC to JPG converter right in your browser. It runs locally without uploading your portraits to any server, and hands you back standard, flat JPGs ready for any website or print lab.

Your photos are decoded in your own browser — open the converter and see.

Related guides

First published: 26 October 2026