---
title: "Keep the AI marking when you resize · Agent Wranglers"
url: https://agentwranglers.se/playbook/files-and-media/images/keep-ai-marking
id: MED-37
level: Required
applies: ai-features, eu-users
risk: law
updated: 2026-10-22
build: a2a6bdfed830
tokens: 721
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Keep the AI marking when you resize generated media

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Images](https://agentwranglers.se/playbook/files-and-media/images.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers.md). Updated 2026-10-22.

- ID: MED-37
- Level: Required
- Chapter: [Images](https://agentwranglers.se/playbook/files-and-media/images.md)
- Rule: When your pipeline resizes or transcodes generated images, audio or video, every served copy keeps a signed content credential and the watermark. Test the files as served, not as stored.
- Check: Make one generated image and one generated video on staging, then fetch every size and rendition the site serves. A C2PA verifier, such as c2patool, finds a valid manifest with an AI statement on each. The watermark detector finds the mark on each.
- Risk: A law broken
- Applies when: The project uses AI models, or has users in the EU.
- How: [Rebuild every uploaded image](https://agentwranglers.se/playbook/files-and-media/images/process-images.md) strips all metadata from uploads, and an image resizer on a CDN may do the same. Run on generated media, that step deletes the machine-readable marking that [Mark generated content so machines can detect it](https://agentwranglers.se/playbook/compliance/ai-act/ai-content-marking.md) requires under AI Act Article 50(2). So give generated files their own path through the pipeline. After each change, sign a new C2PA manifest that lists the original as its ingredient and records the action, such as `c2pa.resized` or `c2pa.transcoded`. Check that the watermark survives the smallest size and the lowest bitrate you serve.

## Sources

- [AI Act Article 50 on transparency obligations](https://eur-lex.europa.eu/eli/reg/2024/1689/oj)
- [C2PA Technical Specification 2.4](https://spec.c2pa.org/specifications/specifications/2.4/specs/C2PA_Specification.html)

## Related rules

- MED-45 [Rebuild every uploaded image](https://agentwranglers.se/playbook/files-and-media/images/process-images.md) in Files and media
- CMP-72 [Mark generated content so machines can detect it](https://agentwranglers.se/playbook/compliance/ai-act/ai-content-marking.md) in Compliance and governance

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/files-and-media/images/keep-ai-marking">Agent Wranglers files and media playbook</a>`. In code you write, add a comment next to it with the same link.

- Previous: [Ask the uploader to describe each image](https://agentwranglers.se/playbook/files-and-media/images/uploader-alt-text.md)
- [Images](https://agentwranglers.se/playbook/files-and-media/images.md)
