Where the Extra Brightness in an HDR Photo Comes From
A gain map can keep a standard image readable while allowing compatible screens to show brighter highlights.

A phone can show the sunlit edge of a cloud brighter than the white background around the photograph. In a gain-map HDR image, that extra light comes from a second piece of image data that tells a compatible viewer how to adjust the ordinary picture. The file has a base rendition, an auxiliary gain map, and instructions for combining them. The screen and software decide how far they can go. Open the same file in an older viewer and the clouds can look pleasantly exposed, yet the edge loses the particular glow you saw on the phone.
What the file needs to remember
Start with a window at the end of a dim room. A photographer has to decide what the white paint on the wall and the light pouring through the window should look like when the picture is shown. One rendition might give both surfaces distinct tones within the ordinary range of a laptop. A second rendition can keep the wall comfortable while lifting that patch of window light well above the screen's ordinary reference white. Those are decisions about rendering a photograph. They remain decisions even if the original scene could be measured precisely with a light meter.
A gain map describes how to go between two renditions in different parts of the image. Think of a low-resolution set of adjustments spread over the full photograph. The white wall can receive little adjustment, the window can receive considerable gain, and the edge between them can change gradually. Rendering software uses the map and its accompanying metadata to make a calculation. The map may store a single adjustment channel or separate color-channel adjustments, depending on the encoding. The representation is generally based on ratios in linear light, with metadata to interpret encoded values. Multiplying the JPEG's displayed RGB numbers directly would skip important steps in the conversion. Adobe's gain map documentation
The auxiliary image may be smaller than the base. A full-resolution view still gets its texture and most of its recognizable detail from the base. The viewer resamples the map so the adjustment falls in the right place. There is a practical cost to reducing the map too far. Imagine a row of bare bulbs seen behind narrow metal slats. A blurred gain transition can spill across an edge or take brightness away from a very small highlight. Compression choices affect that auxiliary data as well as the main picture. Android's Ultra HDR image format specification
Why a bright screen sometimes shows an ordinary picture
The extra room between a display's reference white and its available maximum output is often called headroom. A viewer can put ordinary white at a level that is comfortable for reading and use some of the remaining capacity for brighter picture elements. A hypothetical screen at 200 nits for reference white with 400 nits available for a small highlight has about twice the headroom in that particular state. Move reference white higher or make less peak output available, and the ratio changes. Screen capability is one input among several, including the display mode and the size of the bright area.
Viewing conditions make this distinction easy to miss. In bright surroundings the operating system may already be driving the display hard so an email is readable. Another mode might reserve less brightness to save power. A desktop app with an ordinary SDR rendering path may reduce the picture to a standard range even when an HDR video player on the same computer can show brighter light. Screen capture, mirroring, or a remote desktop introduces another renderer. Two people can therefore disagree about a single photo while accurately describing their own screens.
You can get a useful clue by looking at the white next to the image. If a compact highlight is clearly brighter than that reference while the other tones remain stable, the viewer may be using extra display headroom. Avoid comparing a phone set to maximum brightness with a drifting laptop display and calling the result a file property. Give yourself an ordinary reference element on the same display. That visual comparison is still qualitative. Measuring actual light output would require suitable hardware and controlled conditions.
Capture, editing, and display are separate stages
Some cameras and phones combine exposures to capture bright and dark scene detail. Other images use a single raw capture that has enough usable range for the desired edit. An editor can create a strong SDR rendering from either source. The choice to deliver an HDR rendition happens downstream. A photo can be captured with multi-frame HDR and shared as an ordinary SDR JPEG, or a raw file can be rendered to an output that preserves a greater range for a capable screen.
This difference matters when you edit a photograph of reflective paint or water. If an area is clipped in the source data, making it brighter may produce a convincing highlight, but it will not bring back fine color or texture that was never recorded. A scene-related adjustment is often more effective than raising an entire upper tonal region. For example, an editor can keep colored detail in a painted boat while lifting small reflections near its edge. The ordinary base must also give those reflections a plausible shape, since a reader may see only that edition of the picture.
Crop, rotate, and resize operations raise a separate question. The map has to follow the part of the image it describes. If an editor crops the base but leaves the map in the old coordinates, a bright window adjustment may land in a neighboring patch of wall. Programs with gain-map editing support can transform both representations or generate a new map. A general-purpose re-export through a tool that handles only the base can discard the auxiliary image or its metadata. Save important edits in an archival master and treat the delivery JPEG as a product that you can regenerate. Apple's dynamic image guidance
Where ISO 21496-1 fits
ISO 21496-1:2025 defines gain-map metadata for dynamic range conversion. It is useful because the information a writer places in a file has to mean the same thing to a different reader. An image can use an SDR base for compatibility or, in a supported workflow, an HDR base with information for a lower dynamic range rendition. A file extension indicates a container or encoding family. It tells you very little about which optional data a particular application writes, reads, preserves, or uses. ISO 21496-1:2025
Android Ultra HDR JPEG is one concrete example. Android's format documentation explains how one JPEG can carry Ultra HDR metadata and ISO 21496-1 metadata alongside a single gain map. It also documents JPEG gain-map encoding and decoding using Android's Bitmap interface beginning with Android 15. This is a platform capability and further choices remain with individual editors, gallery apps, cloud conversion services, browsers, and screen output paths. The setting name used by a phone camera is insufficient to establish how a downloaded copy will render on another device. Android's Ultra HDR and ISO compatibility notes
An HDR output can take other forms. Some high bit-depth encodings store an HDR rendition directly and leave the viewing software to map it down when required. The case discussed here is specifically a base image with associated gain information. Support for an HDR video transfer function, an HDR photo format, and an auxiliary gain map can arrive in different releases of the same product. Testing the actual file is more reliable than checking for a broad HDR label.
Follow the picture through one round trip
Choose a test subject with a small bright reflection, muted middle tones, and dark texture. A spoon on a folded towel near a window works better than a frame full of white sky. Make an SDR export and a gain-map export from the same edit, and put both on the intended viewing device without using a service that automatically optimizes uploads. Pick a viewer that documents support for your format. Look at the position of the highlight, visible texture in the towel, and the brightness relationship between the photo and the controls around it.
Next, send the gain-map file through the route your actual readers will use. Save the attachment from the mail client, download the copy from the gallery, or retrieve the posted image from your web page. When possible, compare bytes or hashes against the delivered file. Different bytes can reflect a benign edit to metadata or a complete re-encode. Equal bytes tell you the file survived and let you concentrate on the receiving application. A different on-screen result after forwarding only becomes informative when you can identify which copy each viewer was given.
Try a second path deliberately. View the file in a plain SDR context and read the middle tones as an independent photograph. Check that skin, lettering, shadows, and neighboring images retain their relationship. A printable version may need other output choices, since paper brightness depends on ambient light and an ink-and-paper profile. A good gain-map export can be successful when its only visible difference on some devices is that it has the same readable base as the SDR export.
Put the effect where it earns its space
A bright patch can convey sunlight on stone or help a distant reflection separate from a dull surface. On an article page, a large white object rendered aggressively above surrounding text can also draw the eye away from its intended subject. Make the decision at the size and brightness conditions where the photo will be seen. An editor preview at full screen and a gallery card on a phone create very different relationships between photo, reference white, and adjacent images.
An archive benefits from the original capture, the edit instructions, and a record of which outputs were approved. Keep the SDR output legible and inspect the delivered HDR result on a supported viewer. When the glow disappears, there are three concrete places to check. The uploaded file may have lost its gain data, the viewer may ignore that data, or the display may have little headroom available at that moment. Each leaves a different trail, and none requires guessing from how vivid the thumbnail looks.




