DEV Community

Cover image for The NYT Photoshop Warning: How to Read the AI Record Inside a Photo
jamilxt
jamilxt

Posted on Originally published at jamilxt.com

The NYT Photoshop Warning: How to Read the AI Record Inside a Photo

On November 24, The Verge and PetaPixel reported that The New York Times had asked its freelance photographers not to use Photoshop 2027 (release 28.0.0 and later) on assignments. The reason was not the pixels. It was the metadata. In the email, Times photo leaders Meaghan Looram and Josh Haner warn that the new features "can result in metadata identifying photographs as AI-generated" (The Verge).

The story reached the top of Hacker News (674 points, 532 comments at the time of writing). Most of the argument was about one question: is the "AI" mark too blunt? To answer it, you need three facts: what the mark is, where it sits in the file, and who decides how it is shown.

This guide covers those three things and ends with a short Python script that reads the full edit history of an image. It is built from public sources: the C2PA specification, the IPTC vocabulary, pages from Adobe and Meta, and sample reports from the Content Authenticity Initiative. No Photoshop 2027 file was tested for this piece, so I do not claim to know exactly what 28.0.0 writes for each tool.

What the Times actually said

The facts in the reports are short:

  • The Times asked contributing photographers to "avoid using Adobe Photoshop 2027 (release 28.0.0 and subsequent updates) when working on assignment for The Times" (The Verge).
  • A Times spokesperson, Graham James, told PetaPixel that "certain functions in Adobe Photoshop 2027 utilize generative AI in ways that may not be apparent to users of the software."
  • PetaPixel adds that the Times still supports C2PA (the provenance standard behind Content Credentials) and that this is not changing. The concern is how easily a photographer can use a generative feature without noticing, after which the file carries the label.
  • The Verge notes that Adobe began rolling out C2PA metadata across its apps in August. It also points out that some older tools, like automated selection, may now count as part of the AI suite.
  • PetaPixel says users can roll back to Photoshop 27.0 through the Creative Cloud app, but no earlier.

So the Times is not rejecting provenance metadata. It is rejecting a tool version where it cannot predict what the metadata will say.

Where the AI mark lives

C2PA stores provenance in a block inside the file called a manifest store. Here are the parts you need, in plain words:

  • Manifest: one signed record, added each time a C2PA-aware tool creates or edits the file. A photo that went through a camera, then Photoshop, can carry several.
  • Active manifest: the newest one. Its hashes are bound to the current file contents, so it is the manifest a checker compares against the pixels.
  • Assertion: one statement inside a manifest. The one that matters here is the actions assertion (c2pa.actions or c2pa.actions.v2), a list of what was done.
  • Action: one step, such as c2pa.opened, c2pa.cropped, c2pa.color_adjustments or c2pa.edited. The C2PA specification defines a long list of standard action names.
  • digitalSourceType: an optional field on an action that says what kind of source the content came from. The spec says its value "shall be one of the terms defined by the IPTC or a C2PA specific value."
  • Ingredient: a file that went into this one, such as the original JPEG you opened. If that ingredient had its own manifest, the history continues there.

The spec also gives a clear example for fully generated media. A generative model making a video from a prompt should record a c2pa.created action with digitalSourceType set to the IPTC term trainedAlgorithmicMedia (written in the file as a full IPTC URI).

The signed manifest also makes the record tamper-evident. A tool can check whether the record still matches the pixels and whether a known certificate signed it. As shown later, it cannot stop someone from removing the record.

The vocabulary is finer than the label

The IPTC digital source type list is where the "AI" meaning comes from. It does not have one AI flag. It has several terms, and the differences are the whole debate:

  • digitalCapture: "captured from a real-life source using a digital camera or digital recording device."
  • humanEdits: "Augmentation, correction or enhancement by one or more humans using non-generative tools."
  • algorithmicallyEnhanced: "Modification or correction by algorithm without changing the main content of the media," for example sharpening or noise reduction.
  • compositeWithTrainedAlgorithmicMedia (label: "Edited using Generative AI"): enhancement "using a Generative AI model, such as with inpainting or outpainting operations."
  • compositeSynthetic: a mix of several elements, "at least one of which is Generative AI."
  • trainedAlgorithmicMedia (label: "Created using Generative AI"): media "created algorithmically using an Artificial Intelligence model trained on captured content."

Read those six lines again with the Times in mind. Removing a stray object with a generative fill is inpainting, so the matching term is "Edited using Generative AI," not "Created using Generative AI." The standard can already tell those apart. The blunt part sits in two other places.

The first is which tools count as generative. Adobe's generative AI content labeling FAQ (Wayback copy from October 27) says that when "qualifying generative AI tools are used to create or modify content in Adobe apps, C2PA metadata will be automatically attached." It says this applies "only to generative AI tools, not traditional AI-powered features," and that under new transparency laws, naming the California AI Transparency Act and the EU AI Act, "this metadata cannot be disabled for qualifying content." The record can include the app, the model, whether the content was "wholly generated with generative AI or modified using generative AI," and the date and time. So the photographer cannot switch it off. The only control is not using a qualifying tool, and the Times says some functions use generative AI "in ways that may not be apparent."

The second is how platforms display it. The same FAQ says Adobe "does not automatically add visible AI labels" and that platforms "determine whether and how to display metadata information." Meta's history shows how much that choice matters. Its labeling post records two updates. On July 1, 2024, Meta said that "some content that included minor modifications using AI, such as retouching tools" had been labeled "Made with AI," and it renamed the label to "AI info." On September 12, 2024, it moved the label into the post menu for content "only modified or edited by AI tools," and kept it visible for content "generated by an AI tool."

PetaPixel's 2024 test showed the original problem. Removing a speck of dust with Generative Fill earned an Instagram "Made with AI" tag, while the Spot Healing Brush or Content-Aware Fill could do the same job without one. In that article, Adobe's Andy Parsons said platforms should label content as made or generated by AI "only" when "an image is wholly AI generated."

One HN commenter who edits photos described the same frustration in 2026 terms (comment): extending "50px of floor on the bottom of the photo" for a 9:16 crop, "and now my whole photo is 'AI'." The same commenter said platform wording has become softer, such as "May have been modified using AI."

Generated, edited, or enhanced: what each record looks like

If you build anything that shows these labels, these are the three cases to keep apart:

  • Generated. A c2pa.created action with trainedAlgorithmicMedia. The whole image came from a model. A visible "AI-generated" label fits.
  • Edited with generative AI. An edit step carrying compositeWithTrainedAlgorithmicMedia or compositeSynthetic, while the base is still a capture. "Edited with AI" plus a way to see the full history fits better than "AI-generated."
  • Enhanced or human-edited. Actions with no generative source type, or with algorithmicallyEnhanced or humanEdits. The vocabulary itself gives no reason for an AI label here.

There is also a fourth case: no manifest at all. That tells you nothing. The file may be an untouched camera JPEG, or it may have had its record removed.

Reading a credential yourself

The C2PA Tool (c2patool) is the open-source command line reader from the Content Authenticity Initiative. It used to live in the c2pa-rs monorepo and now has its own repository. Version 0.29.0 was released on November 12, 2026. Per its README, install it on macOS with brew install c2patool, or download a prebuilt binary for macOS, Windows or Linux from the releases page.

These commands come from the tool's usage guide:

# Summary JSON report of the manifest store
c2patool photo.jpg > report.json

# Short report: manifest count, store size, validation result
c2patool photo.jpg --info

# Tree of manifests, assertions and nested ingredients
c2patool photo.jpg --tree

# Low-level C2PA data
c2patool photo.jpg -d

# Cache the official C2PA trust list so later runs check signers
c2patool init trust
Enter fullscreen mode Exit fullscreen mode

The trust step matters. The guide says Adobe's Inspect tool uses the official C2PA trust list. Without a trust list, a report can tell you the record is intact but not whether you should trust who signed it.

The JSON report is long. The script below walks it and prints only what the labeling debate is about: each action, its digital source type, and the software agent. It follows ingredients into their own manifests, because the step you care about is often in an older manifest.

#!/usr/bin/env python3
"""Summarize what a C2PA manifest store says about how an image was made.

Input: the JSON report that `c2patool <file>` prints.
    c2patool photo.jpg > report.json
    python3 provenance_summary.py report.json
"""
import json
import sys

# Groups follow the IPTC definitions at cv.iptc.org/newscodes/digitalsourcetype/
GENERATED = {"trainedAlgorithmicMedia"}
GENAI_EDIT = {"compositeWithTrainedAlgorithmicMedia", "compositeSynthetic"}


def short(uri):
    return uri.rsplit("/", 1)[-1] if uri else "-"


def agent_name(action):
    agent = action.get("softwareAgent")
    return agent.get("name") if isinstance(agent, dict) else (agent or "-")


def actions_of(manifest):
    for assertion in manifest.get("assertions", []):
        if assertion.get("label", "").startswith("c2pa.actions"):
            yield from assertion.get("data", {}).get("actions", [])


def walk(store, label, depth, seen):
    manifest = store["manifests"].get(label)
    if manifest is None or label in seen:
        return
    seen.add(label)
    tool = (manifest.get("claim_generator_info") or [{}])[0]
    pad = "  " * depth
    print(f"{pad}manifest {label}")
    print(f"{pad}  written by {tool.get('name')} {tool.get('version', '')}".rstrip())
    for action in actions_of(manifest):
        dst = short(action.get("digitalSourceType"))
        store["_sources"].add(dst)
        print(f"{pad}  {action.get('action'):<24} source={dst:<24} agent={agent_name(action)}")
    # Earlier history lives in the ingredients' own manifests.
    for ingredient in manifest.get("ingredients", []):
        dst = ingredient.get("digitalSourceType")
        if dst:
            store["_sources"].add(short(dst))
        parent = ingredient.get("active_manifest")
        if parent:
            print(f"{pad}  ingredient '{ingredient.get('title')}' ({ingredient.get('relationship')}):")
            walk(store, parent, depth + 2, seen)


def main(path):
    store = json.load(open(path))
    store["_sources"] = set()
    walk(store, store.get("active_manifest"), 0, set())

    sources = store["_sources"]
    if sources & GENERATED:
        verdict = "created with generative AI somewhere in its history"
    elif sources & GENAI_EDIT:
        verdict = "edited in part with generative AI"
    else:
        verdict = "no generative AI source type recorded"
    print(f"\nverdict: {verdict}")
    print(f"validation_state: {store.get('validation_state', 'not reported')}")
    for status in store.get("validation_status", []):
        print(f"  status: {status.get('code')}")


if __name__ == "__main__":
    main(sys.argv[1])
Enter fullscreen mode Exit fullscreen mode

What the sample reports show

The Content Authenticity Initiative's example-assets repository publishes real C2PA Tool reports for sample files, including an image from ChatGPT, one from Adobe Firefly, and one edited in Photoshop. The outputs below come from running the script above on those saved reports.

The ChatGPT image shows why you must follow ingredients:

manifest urn:c2pa:5e7b0c6d-8e4e-41bd-88d4-e4ef2984a971
  written by ChatGPT
  c2pa.opened              source=-                        agent=-
  ingredient 'image.png' (parentOf):
    manifest urn:c2pa:ec8fd500-c0c2-4b84-8263-f6a1bf03ea94
      written by ChatGPT
      c2pa.created             source=trainedAlgorithmicMedia  agent=GPT-4o
      c2pa.converted           source=-                        agent=-

verdict: created with generative AI somewhere in its history
validation_state: Invalid
  status: signingCredential.untrusted
  status: signingCredential.untrusted
Enter fullscreen mode Exit fullscreen mode

The active manifest only says the file was opened. The generation step is one level down, in the parent ingredient's manifest. A reader that checks only the active manifest would report "no AI" for a fully generated image.

The Invalid state needs care too. The failure code is signingCredential.untrusted, meaning the signing certificate was not on the trust list used when this report was made. The same report records that the ingredient hash matched. That is a trust question, not evidence that the pixels changed.

The Firefly image is the simple case:

manifest urn:uuid:828b19c8-a70e-4a3f-84df-763967f7d372
  written by Adobe_Firefly
  c2pa.created             source=trainedAlgorithmicMedia  agent=Adobe Firefly

verdict: created with generative AI somewhere in its history
validation_state: Valid
Enter fullscreen mode Exit fullscreen mode

The Photoshop sample was made with Photoshop 26.11.0, before the 2027 release:

manifest adobe:urn:uuid:3e12431f-16dc-478c-9aa1-f9eb40910a0f
  written by Adobe Photoshop 26.11.0
  c2pa.opened              source=-                        agent=-
  c2pa.cropped             source=-                        agent=-
  c2pa.resized             source=-                        agent=-

verdict: no generative AI source type recorded
validation_state: Valid
Enter fullscreen mode Exit fullscreen mode

The steps are open, crop and resize, with no source type on any of them. That is what a credential with no generative edit looks like. The Lightroom sample in the same repository is similar: an open action followed by six c2pa.color_adjustments steps, none with a source type. Going by Adobe's FAQ and the IPTC terms, a generative edit in Photoshop 2027 should add one of the generative terms. No 2027 sample was available for this guide, so check a real export before relying on that.

What the record cannot do

It cannot stop removal. ExifTool's JUMBF documentation says C2PA metadata "may be deleted" from JPEG, PNG, WebP and other files "by deleting the JUMBF group with -jumbf:all=." The HN commenter quoted above says they already strip it before uploading. The record is tamper-evident, which means changes can be detected. It is not tamper-proof.

It cannot prevent the mistake. As another HN commenter put it (comment), photographers are using generative tools "inadvertently" because they are not clearly marked, and "C2PA does not prevent this from happening; it only allows the problem to be identified after the fact." That is the Times' problem in one sentence. The record works. The editing interface is the issue.

It is not the only AI field. IPTC's digital source type can also sit in ordinary XMP photo metadata (Iptc4xmpExt:DigitalSourceType), separate from the C2PA block. You can read it with exiftool -XMP-iptcExt:DigitalSourceType photo.jpg. A pipeline that checks only one of the two places can miss the other.

A checklist if you handle uploaded images

If your product shows provenance labels, or your team publishes photos under a no-AI rule, these steps follow from the sources above:

  1. Read the whole chain. The active manifest is only the last step. The ChatGPT sample keeps its generation step in a parent ingredient.
  2. Map source types to at least three labels. "Generated," "edited with generative AI," and no label. One AI flag for all IPTC terms recreates the problem Meta walked back in 2024.
  3. Treat a missing manifest as unknown. No credential is not proof of a camera original.
  4. Separate trust from integrity. Configure a trust list (c2patool init trust) and report "signer not trusted" apart from "content changed."
  5. Check XMP too. Read Iptc4xmpExt:DigitalSourceType alongside the C2PA store.
  6. Test your own tool versions. Export a sample after each editor update and read it before you use that version on real work. The Times took a stricter form of this step: it told contributors to stay off 28.0.0 "at this time."

The bluntness the Times is reacting to is not in the C2PA format. The IPTC list can already say "edited using generative AI" rather than "created." What it needs is editing tools that show clearly when a click uses a generative model, and platforms that display the term the file actually carries.

Have you checked what your own editing tools write into exported images?

Top comments (0)