> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Modify EXIF

> Strip or preserve image metadata and orientation information.

**Modify EXIF** controls which metadata is written into an image. Use it to
remove identifying metadata before sharing an image or to preserve metadata
when another image action would otherwise discard it.

## Inputs

| Input                | Type    | Required | Description                                             |
| -------------------- | ------- | -------- | ------------------------------------------------------- |
| **Image**            | File    | Yes      | The image to process.                                   |
| **Action**           | Enum    | Yes      | Metadata behavior. Defaults to `strip_all`.             |
| **Keep Orientation** | Boolean | No       | Available for `strip_keep_orientation`. Defaults to on. |

### Actions

| Action                   | Behavior                                                                                                    |
| ------------------------ | ----------------------------------------------------------------------------------------------------------- |
| `strip_all`              | Writes the image without preserving its existing metadata.                                                  |
| `strip_keep_orientation` | Uses the orientation-specific path. **Keep Orientation** controls whether orientation metadata is retained. |
| `keep_all`               | Preserves available metadata in the output.                                                                 |

## Output

| Output              | Type | Description                                                   |
| ------------------- | ---- | ------------------------------------------------------------- |
| **Processed Image** | File | The rewritten image, preserving the input name and MIME type. |

<Warning>
  Metadata handling depends on what the image decoder can read and the output
  format can store. Inspect the result when privacy or orientation is critical;
  do not assume every metadata namespace is supported identically.
</Warning>

If the goal is privacy, use `strip_all` and verify the final file after all
other image actions have run. A later encoder may add fresh technical metadata.
