Actions74
- ai Actions
- array Actions
- audiovideo Actions
- carbone Actions
- charts Actions
- code Actions
- data Actions
- datetime Actions
- events Actions
- files Actions
- geo Actions
- hellospaces Actions
- images Actions
- Get Metadata of an Image
- Scale an Image
- Overlay an Image on another Image
- Scale an Image to Fit Given Dimensions
- Resize an Image
- Mask an Image with Another Image
- Mask an Image with a Circle Mask
- Crops an image by the given x, y, width and height paramters.
- Convert Texts to an Image
- Convert HTML String or URL to an Image
- Generates a QRCode with given text and color.
- Get EXIF from Image
- Remove EXIF from Image
- Modify Image EXIF
- playground Actions
- spreadsheet Actions
- stripe Actions
- youtube Actions
images → Get Metadata of an Image
AI-generatedOverview
This node retrieves metadata from an image file using the "Get Metadata of an Image" operation under the "images" resource. It is designed to process an input image (provided as a file) and return its metadata, such as dimensions, format, or other embedded information.
Common scenarios:
- Extracting technical details (e.g., width, height, format) from images uploaded by users.
- Automating workflows that require validation or cataloguing of image files based on their properties.
- Pre-processing images before further automation steps, such as resizing or conversion.
Practical examples:
- Automatically logging image metadata in a database when new images are received via email.
- Validating image dimensions before uploading them to a web service.
- Checking for missing EXIF data in user-uploaded photos.
Properties
| Name | Meaning |
|---|---|
| Image file | Image file to be processed. This should be the binary file whose metadata you want to extract. |
Output
The output will be a JSON object containing the extracted metadata from the provided image file. The exact structure depends on the image and the metadata available, but typically includes fields such as:
{
"width": 1920,
"height": 1080,
"format": "jpeg",
"size": 345678,
"exif": {
"CameraModel": "Canon EOS 80D",
"DateTaken": "2023-01-01T12:00:00"
// ...other EXIF fields
}
}
- If the image does not contain certain metadata, those fields may be omitted.
- The output is always in the
jsonfield of the n8n item.
Dependencies
- External Service: Requires access to the 1001fx API.
- API Key: You must configure the
1001fxApicredentials in n8n. - n8n Configuration: The node expects the image file to be provided as a binary property.
Troubleshooting
Common issues:
- Missing or invalid image file: If the "Image file" property is not set or does not point to a valid binary file, the node will fail.
- Invalid API credentials: If the
1001fxApicredentials are missing or incorrect, authentication errors will occur. - Unsupported image format: If the image format is not supported by the API, an error message may be returned.
Error messages and resolutions:
"error": "Missing required parameter"
Ensure the "Image file" property is correctly set and points to a valid binary file."error": "Invalid API key"
Check your 1001fx API credentials in n8n."error": "Unsupported file type"
Use a supported image format (e.g., JPEG, PNG).