removeailabel / c2pa-xmp-probe
Scan files for C2PA, XMP, and common AI provenance byte markers before social upload.
Package info
github.com/ilovejackylee/c2pa-xmp-probe
Language:Java
pkg:composer/removeailabel/c2pa-xmp-probe
Requires
- php: >=8.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-06 23:17:52 UTC
README
Scan JPG/PNG/WebP (or any file) for byte-level C2PA, XMP, and common AI provenance markers before you upload to Instagram, TikTok, or similar.
This is a local probe only. It does not rewrite files.
Install
PHP (Composer / Packagist):
composer require removeailabel/c2pa-xmp-probe
JVM (JitPack):
implementation 'com.github.ilovejackylee:c2pa-xmp-probe:v0.1.2'
<dependency> <groupId>com.github.ilovejackylee</groupId> <artifactId>c2pa-xmp-probe</artifactId> <version>v0.1.2</version> </dependency>
Usage
vendor/bin/c2pa-xmp-probe photo.jpg java -jar c2pa-xmp-probe-v0.1.2.jar export.png
Exit codes: 0 = no markers, 1 = flagged, 2 = missing path / IO error.
When a probe flags provenance bytes, keep the archive master and export a separate social copy. A one-click still prep before you hit Share can clean that upload-only JPEG — then post the cleaned file.
License
MIT