strip_image_metadata
Remove identifying EXIF, GPS, XMP, IPTC, comments, thumbnails, and trailers from JPEG, PNG, or WebP images without re-encoding pixel data.
Instructions
Losslessly strip identifying metadata (EXIF, GPS, XMP, IPTC, comments, thumbnails, trailers) from a JPEG, PNG, or WebP file without re-encoding pixel data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPath | Yes | Path to the source JPEG, PNG, or WebP image. | |
| keepColour | No | Keep ICC colour profiles and colour chunks (default: true). | |
| outputPath | Yes | Path where the cleaned image will be written. | |
| keepCredentials | No | Keep C2PA Content Credentials / JUMBF segments (default: false). | |
| keepOrientation | No | Keep minimal EXIF orientation tag when rotated (default: true). |