One photograph, three exports
Supported iPhones can capture photographs in the P3 colour space, so a P3 profile is an ordinary thing for an upload to carry. Our test photograph was a 1400 × 933 beach JPEG from Pexels. We ran it on 2026-11-16 on macOS 27.0.1, with ImageMagick 7.1.1-47, ExifTool 12.57 and Google Chrome 157.0.8103.78.
The source JPEG declared sRGB in its EXIF data and had no embedded ICC profile. We assigned the system sRGB profile in ImageMagick, converted the samples to Display P3 and saved a tagged PNG. Both JPEG exports started from that same uncompressed image.
We made a JPEG with its P3 profile, a copy with only that ICC profile removed, and a separately converted sRGB JPEG with its profile removed. Both JPEG encodes used quality 90 and 4:4:4 sampling. ExifTool removed the profile from the copy, so that comparison involved no extra JPEG save.
| Photo export | File bytes | Embedded ICC profile |
|---|---|---|
| P3 profile kept | 306,323 | Display P3 |
| P3 profile removed | 305,769 | None |
| Converted to sRGB, then untagged | 315,109 | None |
The P3 profile itself was 536 bytes; with its marker wrapper it took 554 bytes of the JPEG, 0.181% of this photograph. The converted export was larger than either P3 file because conversion changed the samples the encoder received, so its size says nothing about the profile.
Look at the sky and sunset
Chrome loaded all three files. We drew the same 180 × 120 region of each into an sRGB canvas and enlarged it two times without smoothing.
P3 profile kept

Profile removed

Converted to sRGB first

P3 profile kept

Profile removed

Converted to sRGB first

A chart with no JPEG encoding differences
To separate the colour-space step from JPEG encoding, we also made a 360 × 240 PNG with six flat colours. Two versions had identical RGB samples and the same image data; one carried a Display P3 profile and the other no colour metadata. A third held samples converted to sRGB, written without a profile.
The tagged PNG was 1,574 bytes. Removing its profile left 1,221 bytes, and the converted, untagged version was 1,226 bytes. Here the 353-byte profile chunk was 22.4% of a very small file, against 0.181% of the photograph.
We read the centre of every block from a canvas created with colorSpace: 'srgb'. All six readings matched between the tagged and converted versions. Five changed when the profile was removed without conversion; neutral grey did not.
| Chart block | Profile kept, read as sRGB | Profile removed | Converted first |
|---|---|---|---|
| Red | 217, 56, 51 | 200, 70, 60 | 217, 56, 51 |
| Green | 0, 183, 90 | 70, 180, 100 | 0, 183, 90 |
| Orange | 234, 124, 36 | 220, 130, 60 | 234, 124, 36 |
| Purple | 162, 64, 186 | 150, 70, 180 | 162, 64, 186 |
| Blue-green | 0, 173, 193 | 70, 170, 190 | 0, 173, 193 |
| Grey | 128, 128, 128 | 128, 128, 128 | 128, 128, 128 |
The PNG writer added no gamma, chromaticity or other colour chunks, so removing the ICC profile left the chart with no colour information at all.
Why the interpretation changes
Display P3 and sRGB define different RGB primaries, so the same three numbers can mean different colours. CSS Color 4 requires a browser to interpret a tagged image with its colour information and to treat an untagged image as sRGB.
Deleting the only tag from unconverted P3 samples changes which interpretation applies. Converting to sRGB first changes the sample values while the source profile is still there. Assigning an sRGB profile without conversion does not perform that calculation.
ImageMagick's -profile option does both jobs: when the file already has a profile, it converts to the one you name; when it has none, it only assigns it. Check that the source profile is correct before running it on a file whose history you do not know.
Check whether your image has a profile
We ran these ExifTool arguments on the tagged and exported photographs:
exiftool -ProfileDescription -ProfileCMMType photo.jpgThe tagged file returned Display P3; the two stripped exports returned no profile description. ImageMagick gives the same answer:
magick identify -format '%f: %[icc:description]\n' photo.jpgIn Preview on macOS, click Inspector in the toolbar and read the ColorSync Profile line. Check the copy downloaded from the website as well as the original; the profile can differ even when the dimensions do not.
Preview Inspector

Export while the input profile is still available
For a copy that needs sRGB, convert before stripping. These are the conversion and removal commands from our photo test:
magick p3-source.png -intent Relative \
-profile '/System/Library/ColorSync/Profiles/sRGB Profile.icc' \
-sampling-factor 4:4:4 -quality 90 srgb-photo.jpg
exiftool -overwrite_original -ICC_Profile= srgb-photo.jpgKeep the correctly tagged source and write to a separate file. Reopen the new file, check its profile and compare it in the browser you care about. A photo from a phone is not necessarily P3, so check rather than guess.
When Bitinz compresses a JPEG, or converts one to WebP, it keeps the embedded ICC profile: our P3 test photo still reported Display P3 after both. Orientation is the other piece of metadata that changes how a photo looks after upload; see the orientation test. To choose the format itself, read JPG vs PNG vs WebP.
What we did not test
We converted an sRGB photograph to P3 rather than using a native wide-gamut capture. The JPEG exports were compared by eye; exact colour readings come from the PNG chart. Chrome was forced to sRGB, so wide-gamut displays, HDR, other browsers and upload services were outside this test, as were PNG editors that keep other colour chunks.
FAQ
- Should every website image keep its ICC profile?
- If an image is already sRGB, removing only its ICC profile leaves the browser's interpretation unchanged. For P3 or another colour space, keep the correct profile or convert the samples to sRGB before removing it. Recompressing during an export is a separate possible cause of visible changes.
- Can I fix a stripped image by assigning sRGB?
- Only if the samples really are sRGB. If a P3 original is available, go back to that correctly tagged file and convert a copy. The RGB values alone may not reveal the missing source space.
- Why did my site's thumbnail change colour?
- Download the thumbnail and compare its profile with the original using ExifTool or ImageMagick. Then look at the editor or thumbnail step that produced it. Do not infer its behaviour from another site's settings or from the file name.
Tools in this guide
Sources
- Bitinz: Colour profile test: files, measurements and commands (2026-11-16)
- Apple: iOS Device Compatibility Reference: Cameras (wide-gamut colour capture)
- W3C: CSS Color Module Level 4: tagged and untagged images
- ImageMagick: Command-line options: -profile
- Chrome for Developers: Canvas colour spaces
- ExifTool: ICC_Profile tags