← Tous les articles

Your atlas has no Content Credential. How to sign a composite

A sprite sheet, a collage or a cut-out is a new picture, so the credentials of the generated sources do not follow it. One command signs the result as a composite and keeps every source's signature in the chain.

Par c2pa.design · Mis à jour le 2026-10-10 · 3 min de lecture

You generate thirty signed images, remove the backgrounds, pack them into one atlas and ship the atlas. The file your players download has no Content Credential. The thirty signatures stayed on files nobody will ever see.

Why nothing carries over

A Content Credential is bound to the exact bytes it was signed over. Converting PNG to WebP already breaks that binding, and there is a clean answer for it: sign the converted file and name the original as its parent. A verifier compares the two and sees the same picture.

An atlas is not the same picture as any of its sources. Neither is a sprite with its background removed, or a banner with a logo placed on it. There is no parent to point at. There are components.

What the build step does What the output is How C2PA describes it
Re-encode, resize, compress the same picture one parentOf ingredient, c2pa.transcoded / c2pa.resized
Crop, remove a background, retouch an edit of one picture one parentOf ingredient, c2pa.opened + c2pa.edited
Pack, collage, place one picture on another a new work c2pa.created with digital source type composite, one componentOf ingredient per source

Most pipelines for generated art do all three, in that order, and sign none of them.

One command per step

npx -y c2pa-check@latest carry --compose gen/knight.png --to cut/knight.png --edited
npx -y c2pa-check@latest carry --compose cut/knight.png cut/archer.png cut/mage.png --to build/atlas.png
npx -y c2pa-check@latest carry --from build/atlas.png --to public/atlas.webp

The first line records an edit, the second a composite, the third a conversion. Each output keeps the manifests of what went into it, so a check of public/atlas.webp walks back through the atlas to three sprites and from each sprite to the generator that signed it.

Sources without a credential may be mixed in. They are recorded as plain ingredients, and the command says how many there were.

Who signs it

You have The composite is signed as
Your own C2PA certificate in C2PA_SIGN_CERT / C2PA_SIGN_KEY you; the key never leaves your machine
A c2pa.design API key and a verified domain "yourdomain.com via c2pa.design"
Neither a local key, with a warning; the chain to the generators is still there

What the signature means, and what it does not

Nobody can prove from the outside that an atlas was built from exactly these thirty files. So the signature does not claim it. It says two narrower things:

  • The account behind this domain published this file and declares it a composite of the listed sources.
  • Each source credential in the list is intact and was issued by the signer it names.

That is the statement every editing tool makes when it signs an export. It is also why c2pa.design signs a composite only for an organization that has proven a domain, only when every source credential validates, and only when at least one source has one. An account without a proven domain gets a locally signed file instead, never our name.

A reader still sees the honest picture: who published the file, what it was made from, and which generators signed the parts. A missing credential on some other copy proves nothing about that copy.

Keep it from regressing

Add the shipped folder to the build gate with a baseline, so the build fails the day a file that had a credential stops having one:

npx -y c2pa-check@latest 'public/**/*.{png,webp}' --baseline c2pa-baseline.json

The flags, the refusal rules and a CI template are in the carry guide and the CLI guide.

À lire aussi