Strip EXIF (JPEG)
Try it interactively →POST /api/image-strip-exifStrip EXIF, IPTC, and XMP metadata from an image. Useful for privacy (removing GPS coordinates, timestamps, camera serial numbers) before sharing photos publicly.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | JPEG bytes. |
Response
Modes: binary, json. Cache: yes (24h TTL).
Code samples
Built from the sample example.
# Download or substitute the example input:
# curl -O https://xtract.bot/examples/image-strip-exif/sample.jpg
IMAGE=$(base64 -w0 < sample.jpg)
curl -X POST https://api.xtract.bot/api/image-strip-exif \
-H "Content-Type: application/json" \
-H "Accept: application/octet-stream" \
-H "X-Account-Id: $XTRACT_ACCOUNT_ID" \
-H "X-Api-Key: $XTRACT_API_KEY" \
-d '{
"image": "'"$IMAGE"'"
}'