PDF4me icon

PDF4me

Comprehensive PDF and document processing: generate barcodes, convert files, extract data, manipulate images, and automate workflows with the PDF4ME API

Actions80

Overview

This node operation removes EXIF metadata tags from image files. EXIF tags often contain information such as camera settings, location data, and timestamps embedded in images. Removing these tags is useful for privacy reasons, reducing file size slightly, or preparing images for environments where metadata should be stripped.

Common scenarios include:

  • Preparing images for public sharing without revealing location or device details.
  • Cleaning images before archival or compliance with privacy regulations.
  • Reducing metadata clutter in image processing workflows.

Practical example: You receive user-uploaded photos containing sensitive location data. Using this node, you can strip all EXIF tags before storing or further processing the images.

Properties

Name Meaning
Input Data Type How the image file is provided:
- Binary Data (from previous node)
- Base64 String
- URL to image file
Input Binary Field Name of the binary property containing the image file (used if Input Data Type is Binary Data)
Base64 Image Content Base64 encoded string of the image content (used if Input Data Type is Base64 String)
Image URL URL pointing to the image file (used if Input Data Type is URL)
Output File Name Desired filename for the output image after EXIF tags are removed
Image Type Type/format of the image: JPG or PNG
Async Whether to process the image asynchronously (true/false)
Binary Data Output Name Custom name for the binary data field in the node's output

Output

The node outputs the cleaned image file with all EXIF tags removed. The output includes:

  • A JSON object representing the processed item.
  • A binary data field containing the cleaned image file, named according to the "Binary Data Output Name" property (default is "data").
  • The binary data contains the image content without any EXIF metadata.

No additional metadata or textual output is provided beyond the cleaned image binary.

Dependencies

  • Requires access to the image file either via binary input, base64 string, or a reachable URL.
  • No explicit external API keys or services are indicated by the code; processing appears to be handled internally or via bundled dependencies.
  • The node supports asynchronous processing, which may require appropriate n8n workflow configuration.

Troubleshooting

  • Invalid Input Data: If the input image data is malformed or the URL is unreachable, the node will likely throw an error. Ensure the input data matches the selected input type.
  • Unsupported Image Types: Only JPG and PNG formats are supported. Providing other formats may cause errors.
  • Async Processing Issues: If asynchronous processing is enabled but the environment does not support it properly, unexpected behavior might occur. Try disabling async mode if issues arise.
  • Output Binary Naming Conflicts: If multiple nodes output binary data with the same name, consider customizing the "Binary Data Output Name" to avoid conflicts.

Links and References

Discussion