AI Image Detector and the ICC Profile: The Same File, Two Pictures (2026)
Short answer: the numbers stored in an image file are not colors. A small header, or the absence of one, tells the reader how to turn those numbers into colors, and an AI image detector has to make that decision before it evaluates anything. Change only that header and the file becomes a different picture to every tool that honors it, while the pixels stay byte-identical. That is why the same photograph can read as confidently real on one detector and confidently synthetic on another with neither tool malfunctioning, and why a re-save you cannot see can move a score you can.
This page is about the one variable in that sentence that never shows up in a screenshot: the ICC profile, and the color space it names.
Here is the fact that makes it worth a page. Take a saturated green, 0, 255, 0 in sRGB. Written in Display P3 the same color is 117, 251, 76. One channel moves by 117 of 255 levels, which is 46% of its range, while the perceived color moves by 4.3 ΔE00, both figures calculated here from the primaries and the white point published in W3C CSS Color 4 (2025). A person accepts both as the same green. A convolutional filter does not get to accept anything: it receives 117 where it expected 0, and it will weight that difference exactly as it was trained to.
Everything below follows from that gap between what the eye loses and what the model sees.
What the three pages you are comparing say about color
As of 16 November 2026, zerogpt.com/ai-image-detector mentions the technical nature of a file in one place only, its upload instructions: it "supports common formats like JPG, PNG, and WEBP" (third-party reports, checked 16 November 2026). Its method section says the detector "scans visual patterns and structures commonly found in AI-generated images, without relying on watermarks or metadata" (third-party reports, checked 16 November 2026). No color space, no profile, no gamut, no rendering intent anywhere on the page.
deepai.org/ai-image-detector lists five containers in its upload box, "JPG, JPEG, PNG, WebP, AVIF, HEIC" (third-party reports, checked 16 November 2026), and never says what those containers hold. Its nearest sentence to this subject is a dismissal: it contrasts itself with "a regular image detector" that "may only analyze format, size or general image properties" (third-party reports, checked 16 November 2026). A color profile is precisely a general image property, which is the point of this page. It is general, it travels in the file, and it decides what the pixels mean.
isthisai.com describes its method as an ensemble that "scans for AI fingerprints across pixel patterns, frequency anomalies, and frame timing" (third-party reports, checked 16 November 2026). Those are three named channels. Color is not one of them, and the page's accuracy figure, "98.7% Detection Accuracy" (third-party reports, checked 16 November 2026), is displayed without saying what color space the test images were in.
So all three tools treat a file as a bag of pixels with an implied color space, and none of them states which one. That implication is doing real work in every score they print, and it is the one assumption you can test at home with a text editor and four copies of a file.
A profile is an instruction for reading numbers, not a property of the picture
A decoded JPEG is three arrays of integers. Those integers have no color until something tells you how to read them: which primaries they refer to, what white point they are relative to, what tone curve turns the stored code into light. That instruction is the ICC profile, and the specification is explicit that it is a separate object with its own internal structure rather than a set of pixels.
ICC.1:2022 (published as ISO 15076-1) is explicit that a profile is a file with a fixed order: "An ICC profile shall include the following elements, in the order shown, as a single file: a) a 128-byte profile header as defined in 7.2; b) a profile tag table as defined in 7.3; c) a profile tagged element data as defined in 7.4" (ICC.1:2022, §7.1.1). Section 7.2 is equally blunt about the size: "The profile header is 128 bytes in length and contains 18 fields" (ICC.1:2022, §7.2, Table 17). Eighteen fields, one hundred and twenty-eight bytes, and the total profile size is the header plus the tag table plus whatever the tags point at.
That last part matters more than it sounds. A profile built from a 3×3 matrix and three tone curves needs very little beyond the header. A profile built from sampled lookup tables can be orders of magnitude larger, because the tag table is allowed to point at tables of arbitrary length. Both are legal, both are ICC profiles, and the difference between them is the difference between "a matrix that rotates your channels" and "a measurement of a specific printer on a specific paper".
For this page the fields that matter are the ones naming what the profile is for and what numbers it describes. A profile carries a device class and a data color space in its header, which is how software knows whether it is looking at a display profile, an input profile, or an abstract transform, and whether the numbers are three-channel RGB, four-channel CMYK, or a single gray channel. Two profiles can both claim to describe "RGB" and still disagree about everything else.
Where the instruction hides in the two most common file types
The profile is not stored in the picture data. It sits in a metadata slot that the container format defines, and each format defines its own. The International Color Consortium's own embedding page notes that formats such as EPS, TIFF and baseline JPEG have their embedding rules given in the ICC specification, while PNG, PDF, DNG and SVG each define their own (color.org, "Embedding ICC profiles in image file formats", checked 16 November 2026).
| Container | Slot | What it can carry | What happens when it is empty |
|---|---|---|---|
| JPEG | a marker segment in the file header, ahead of the image data | a complete ICC profile | no statement at all |
| PNG | iCCP chunk | a complete ICC profile, zlib-compressed | no statement at all |
| PNG | sRGB chunk | "these samples are sRGB", plus a rendering intent | no statement at all |
| PNG | cHRM plus gAMA chunks | primaries as chromaticities, and one gamma value | no statement at all |
| PNG | cICP chunk | color described in video signaling terms | no statement at all |
The PNG column deserves attention because PNG carries five different ways to answer the same question, and a single file can carry several of them at once. The current PNG specification resolves conflicts with a priority table: "If a single image contains more than one of these chunk types, the chunk with the lowest Priority number should take precedence and any higher-numbered chunk types should be ignored" (W3C PNG Specification, Third Edition, §4.3, Table 1). The numbers are cICP at 1, iCCP at 2, sRGB at 3, and cHRM with gAMA at 4 (same source).
Two things follow. First, a PNG can carry an ICC profile and an sRGB flag that contradict each other, and the specification tells readers which to believe rather than telling writers not to do it. Second, the rule says "should", not "shall", so a writer that ignores it is not in violation of anything that would stop the file from opening.
The Exif field called ColorSpace cannot name your color space
This is the detail that surprises people most, and it explains why the profile is not optional in practice.
Exif has a tag numbered 0xa001 whose name is ColorSpace. According to the ExifTool tag reference (revised 6 November 2026), its defined values are 0x1 for sRGB, 0x2 for Adobe RGB, 0xfffd for Wide Gamut RGB, 0xfffe for ICC Profile, and 0xffff for Uncalibrated — and the same reference states that 0x2 is not standard Exif, that the 0xfffd and 0xfffe values are non-standard and used by some Sony cameras, and that an Adobe RGB image is properly indicated by "Uncalibrated" together with an InteropIndex of "R03" (exiftool.org TagNames/EXIF, checked 16 November 2026). InteropIndex "R98" is the plain sRGB case in the same table.
Read that list twice. There is no value for Display P3. Whatever a modern phone or a wide-gamut editing session did, the two-byte field can only say "sRGB", "uncalibrated", or a vendor-specific code that most readers ignore. The field is not a color space. It is a pointer that says either "the boring case" or "go look at the profile".
So a photo whose pixels are in Display P3 will typically declare itself Uncalibrated and lean entirely on the embedded ICC profile, and a photo whose profile has been stripped will declare itself Uncalibrated with nothing left to point at. In both cases the only surviving evidence of the color space is the thing that the "metadata does not matter" school of detection throws away first.
What actually moves when the instruction changes
The following table is arithmetic, not measurement. The matrices were derived from the primaries and the D65 white point listed in W3C CSS Color 4 (2025), §10.2 for sRGB and §10.4 for display-p3, with the sRGB transfer curve applied on both sides, which is correct because the same specification states that display-p3 uses "the same transfer curve as sRGB" (W3C CSS Color 4, 2025, §10.4). Codes are the 8-bit values a file would store.
| Color | sRGB code | Display P3 code | Largest channel move |
|---|---|---|---|
| Saturated red | 255, 0, 0 | 234, 51, 35 | 51 levels (G, from 0) |
| Saturated green | 0, 255, 0 | 117, 251, 76 | 117 levels (R, from 0) |
| Saturated blue | 0, 0, 255 | 0, 0, 245 | 10 levels (B) |
| Sunset orange | 255, 140, 60 | 240, 146, 79 | 19 levels (B) |
| Light skin tone | 224, 172, 140 | 216, 174, 145 | 8 levels (R) |
| Mid grey | 128, 128, 128 | 128, 128, 128 | 0 |
| White | 255, 255, 255 | 255, 255, 255 | 0 |
The neutral row and the white row are the tell. Display P3 keeps the DCI-P3 primaries but swaps in a D65 white point and the sRGB curve (W3C CSS Color 4, 2025, §10.4), so anything on the grey axis lands on exactly the same code. The whole error lives off the neutral axis, and it grows with saturation. A photo of a fog bank is safe. A photo of a red car, a neon sign, a sunset, a bowl of fruit under warm light, or a product shot on a saturated backdrop is not.
Two of the rows are worth explaining, because they look like errors until you see why they are not.
Green moves by 117 levels in red because P3's green primary is much farther out than sRGB's, at x 0.265, y 0.690 against x 0.300, y 0.600 (W3C CSS Color 4, 2025, §10.4 and §10.2). A color that sits on the sRGB green boundary is, in P3 terms, a desaturated green, and desaturating it means adding red. So the red channel, which was zero, has to climb to roughly the middle of its range to describe a color that is numerically "the same green".
Blue moves by only 10 levels because the blue primary is the same coordinate in both spaces, x 0.150, y 0.060 in each (same source). What changes is not the direction of the primary but the luminance attached to it, so pure blue in P3 codes lands at 245 rather than 255.
Why the picture looks fine while the input has changed
The perceived error in the worst case on the table above is 4.3 ΔE00 for the green pair and 4.1 for the red pair, computed here in CIELAB against the D65 white point from the code pairs in both interpretations. That is a visible but unremarkable difference: slightly duller, slightly flatter, the sort of thing people blame on the upload, the screenshot, or the monitor.
The numeric error is not slight at all. In the green case a channel moves 46% of its range. In the red case the green channel goes from 0 to 51, which is the difference between "no green at all" and "a distinctly green component", and the blue channel appears from nothing.
This is the asymmetry the whole page rests on. A human reads color through a perceptual transform that compresses exactly these differences. A detector reads the codes. The larger the saturation, the larger the numeric gap and the smaller the perceptual one, which means the failure mode concentrates precisely on the images where color statistics are most informative.
Missing does not mean sRGB
The common assumption is that a file with no profile is sRGB by default. The PNG specification says something different and more uncomfortable. In its description of color types and sample values: "RGB samples represent calibrated color information if the color space is indicated (by gAMA and cHRM, sRGB, iCCP, or cICP); or uncalibrated device-dependent color if not" (W3C PNG Specification, Third Edition, §6.1).
Uncalibrated device-dependent color is not a synonym for sRGB. It means the numbers refer to whatever the device that wrote them happened to produce, and the specification offers no way to recover that. The same section adds that color-aware applications prefer the explicit methods while "color-unaware applications will typically ignore all four methods" (§4.3).
Put those two sentences together and you get a file that is two different pictures depending on who opens it, with no statement inside the file about which reading is correct. If a detector is color-unaware it reads the codes as if they were sRGB. If it is color-aware it converts, and the conversion it performs depends on a profile that may not be there. Neither behavior is wrong. They are simply different, and the score does not tell you which one produced it.
Four pipeline behaviors, four different reactions
This part is reasoning from the mechanics above, not a claim about any specific product's code. But the four behaviors are exhaustive enough to be useful, because a detector must do one of them before its first layer.
| What the pipeline does | Effect of a profile-only change | What its score is really about |
|---|---|---|
| Reads stored codes, no color management | Score identical, always | Your export settings as much as your image |
| Converts to sRGB first | Score moves, in proportion to saturation | Color as displayed, plus the profile's accuracy |
| Collapses to luma, then analyzes | Score nearly fixed: across a sweep of saturated hues the luma channel moves by at most 5.5 levels of 255 (calculated here with the ITU-R BT.709-6 coefficients 0.2126, 0.7152 and 0.0722) | Structure only |
| Converts to linear light and resamples | Score moves, plus a second-order effect from the resampling filter | Color and geometry together |
The third row is the one people miss. Because both spaces share a white point and a tone curve, converting between them barely disturbs luma, which is a weighted sum of the three channels. The channels individually swing wildly; their weighted sum does not. So a detector that goes to grayscale early is largely immune to this entire class of error, and a detector that keeps three channels is exposed to all of it. Both are legitimate designs. Only one of them can be trusted to answer a question about color, and neither tells you which it is.
The re-tag test: four files, one pixel set
This is the practical part, and it takes about ten minutes. The goal is to change nothing except the instruction, and then watch what the score does.
- Copy your image four times and keep the pixels untouched. Do not open it in an editor that re-saves it.
- On copy A, change nothing. This is the control.
- On copy B, replace the embedded profile with a plain sRGB profile. Only the profile bytes change.
- On copy C, replace the embedded profile with a Display P3 profile. Only the profile bytes change.
- On copy D, remove the profile entirely.
- If any of the four differs in file size by more than a few bytes, pad the smaller ones with a JPEG comment segment so that a detector keyed to file size cannot be the explanation. The Exif page on this site describes the padding technique in detail.
- Submit all four to the same detector, in the same session, and record the numbers.
What the pattern means:
| Result | Reading |
|---|---|
| All four identical, and C looks different in an image viewer | The tool ignores the profile. Its number is about code values, not color |
| C differs materially from B, A sits near B | The tool honors profiles, and the file's own tag is doing the work |
| D differs from A while B and C do not | The tool treats a missing profile as its own signal, which is a container-level judgement wearing a pixel-level costume |
| All four move together, in the same direction | The session is noisy. Repeat before concluding anything |
There is one honest limitation, and it should be stated plainly: this test tells you how the tool preprocesses, not whether the image is AI. A tool that ignores profiles is not necessarily wrong. It is answering a narrower question than the one you asked, and now you know that.
The out-of-gamut witness: evidence that runs only one way
Here is a second use of the same machinery, and it produces something the pixel score cannot.
The sRGB gamut is a strict subset of the Display P3 gamut. Sampling the sRGB code cube on a 52-point grid per axis, 140,608 colors, none fall outside P3, while 50.8% of the P3 code cube falls outside sRGB, with the worst case requiring a linear sRGB value of −0.2249. Those two counts are arithmetic on the matrices described above, and they say something structural: every sRGB color can be written in P3, and only about half of the P3 cube can be written in sRGB.
Now the inference. If a file is tagged Display P3, and conversion of its pixels to sRGB produces values below 0 or above 1, then those pixels describe colors that sRGB cannot express at all. They cannot be a re-tagging of sRGB code values, because a re-tagging never changes the codes. Something upstream produced wider-than-sRGB color: a camera capturing in a wide space, a raw converter, a scanner profile, or a compositor working in P3.
This matters for detection because of an assumption these tools have to make, whether they state it or not: if the training data was sRGB-encoded, which is the usual case and the assumption this test rests on, then a synthetic image's codes should sit inside the sRGB cube. If a meaningful fraction of your pixels sit outside it, the file did not come from an sRGB-only pipeline.
The direction of the evidence is what makes it useful, and it mirrors the asymmetry described on the Exif page. A non-zero out-of-gamut fraction indicts the "generated in sRGB" story. A zero fraction proves nothing, because a photograph of a grey wall has no out-of-gamut pixels either. Presence convicts, absence stays silent. Detectors are asked to speak in both directions; this witness only speaks in one, and one direction is still more than a percentage gives you.
The measurement itself is one line of arithmetic per pixel: convert to linear, apply the sRGB matrix inverse, and count pixels with any negative component or any component above one. A histogram of the minimum channel value across the image, with the axis floored at zero, shows the pile-up immediately.
Eight-bit round trips rewrite pixels without touching the picture
There is a second silent rewrite, and it is the one that breaks arguments about "the original pixels".
Take an sRGB image, convert it to Display P3 and back to sRGB, rounding to 8 bits at each step, as any color-managed editor does when it converts between working spaces. On the same 52-point grid, 44.8% of sampled colors come back changed by at least one level, the largest error is 8 levels, and a 256-step red ramp collapses from 256 distinct values to 239. A green ramp goes from 256 to 254, a blue ramp to 246. A grey ramp stays at 256, for the reason established earlier: the neutral axis is the same in both spaces.
So a conversion that no viewer would flag can rewrite nearly half the pixel values in a file. This has two consequences that matter for any authenticity argument.
First, "the pixel values are identical to the original" is not evidence that nothing happened, and "the pixel values differ from the original" is not evidence that anything was edited. Round-tripping through a wider space produces the second without the first.
Second, any comparison that depends on exact pixel equality, from a perceptual hash to a block-level diff, will report a difference between two exports of the same untouched photograph. If a detector's training or calibration used such a comparison, its notion of "same file" and yours are not the same notion.
Six ways this shows up as a wrong verdict
| What you observe | Likely mechanism | What to check first |
|---|---|---|
| A phone photo is flagged, an sRGB export of it is not | Saturated colors were re-expressed with different codes | The re-tag test on the original |
| A photo flagged as real inside a screenshot is flagged as AI as a file | The screenshot is a new render in a different color space | Which profile each file carries |
| Two tools disagree on the same file, permanently | One color-manages, one reads raw codes | Whether one of them moves when you re-tag |
| A score changes after "export for web" and nothing else | Round-trip through P3, plus a profile swap | The 8-level arithmetic above |
| An older JPEG behaves differently from a newer one of the same scene | A gAMA-only file with no profile against a fully tagged one | Whether an iCCP or sRGB chunk exists at all |
| A detector is confident and consistent on a grey or neutral subject | Neutrals are invariant to this transform | Whether the subject has any saturated color to disagree about |
A ten-minute protocol
- Record what the file says before you judge the score: does it have an ICC profile, and what is the profile's description and device class.
- Record what the Exif ColorSpace tag says. If it says Uncalibrated, the profile is the only statement left.
- Run the four-file re-tag test and write down all four scores.
- If the scores move, compute the fraction of pixels that fall outside the sRGB gamut when converted. Non-zero is information. Zero is not.
- If the scores do not move, say so in exactly those words: the tool does not read color management, so its number is a statement about code values.
- Keep the four files. Anyone disputing your conclusion can rerun the test, which is more than can be said for a screenshot of a percentage.
What this does not prove
None of the above establishes that a color-managed detector is better. A tool that reads raw codes is internally consistent and cheap, and its training data probably matched its inference input, which is more than many tools can claim.
What it establishes is narrower and more useful: the score you are shown is conditional on a preprocessing decision that is not disclosed, that is not visible in the image, and that can be changed with a few hundred bytes without touching a pixel. If you are making a decision that matters on the strength of that number, the re-tag test is the cheapest way to find out what the number is actually about.
The related problem is on the Exif and XMP page, where the container is treated as a one-way witness. This page is the other half of that argument: the container does not only say who made the file, it says how to read it, and the second statement is the one an AI image detector cannot avoid consuming.