Actions80
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Image Watermark To Image
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- Add Text Watermark To Image
- AI-Invoice Parser
- AI-Process Contract
- AI-Process HealthCard
- Classify Document
- Compress Image
- Compress PDF
- Convert HTML To PDF
- Convert Image Format
- Convert JSON To Excel
- Convert Markdown To PDF
- Convert PDF To Editable PDF Using OCR
- Convert PDF To Excel
- Convert PDF To PowerPoint
- Convert PDF To Word
- Convert To PDF
- Convert URL to PDF
- Convert VISIO
- Convert Word to PDF Form
- Create Images From PDF
- Create PDF/A
- Create Swiss QR Bill
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Split PDF By Barcode
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Extract Attachment From PDF
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Resources
- Extract Table From PDF
- Extract Text By Expression
- Extract Text From Word
- Fill PDF Form
- Find And Replace Text
- Flip Image
- Flatten PDF
- Generate Barcode
- Generate Document Single
- Generate Documents Multiple
- Get Document From Pdf4me
- Get Image Metadata
- Get PDF Metadata
- Split PDF By Swiss QR
- Get Tracking Changes In Word
- Image Extract Text
- Linearize PDF
- Merge Multiple PDFs
- Overlay PDFs
- Parse Document
- Protect PDF
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Remove EXIF Tags From Image
- Repair PDF Document
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Document
- Rotate Image
- Rotate Image By EXIF Data
- Rotate PDF Page
- Sign PDF
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
This node operation "Convert Image Format" allows users to convert an image from one format to another. It supports input images provided as binary data, base64 encoded strings, or via a URL. The node processes the input image and outputs the converted image in the desired format.
Common scenarios where this node is beneficial include:
- Automating image format conversions in workflows, e.g., converting JPG images to PNG for web optimization.
- Processing images received in different formats and standardizing them to a single format.
- Integrating with other nodes that require specific image formats.
Practical example:
- A user receives product images in various formats (JPG, BMP, TIFF) and wants to convert all of them to PNG before uploading to a website. This node can automate that conversion step.
Properties
| Name | Meaning |
|---|---|
| Input Image Data Type | Choose how to provide the image file to convert. Options: Binary Data, Base64 String, URL. |
| Input Binary Field | Name of the binary property containing the image file (used if Input Image Data Type is Binary Data). |
| Base64 Image Content | Base64 encoded string of the image content (used if Input Image Data Type is Base64 String). |
| Image URL | URL pointing to the image file (used if Input Image Data Type is URL). |
| Output File Name | Desired name for the output converted image file. |
| Current Image Format | Format of the input image. Options: BMP, GIF, JPG, PNG, TIFF. |
| New Image Format | Format to convert the image to. Options: BMP, GIF, JPG, PNG, TIFF. |
| Binary Data Output Name | Custom name for the binary data field in the node's output. |
Output
The node outputs the converted image as binary data under the specified binary data output name. The output includes:
json: Metadata about the conversion (typically minimal or empty).binary: Contains the converted image file data with the custom binary data name set by the user.
If the input was binary or base64, the output will be the converted image binary data ready for further processing or saving. If the input was a URL, the node downloads the image, converts it, and outputs the result similarly.
Dependencies
- Requires access to the image file either as binary data, base64 string, or accessible URL.
- No explicit external API keys or credentials are required for this operation.
- The node depends on internal image processing libraries bundled within the node implementation.
Troubleshooting
- Invalid input data: Ensure the input image data matches the selected input type (e.g., binary data exists if "Binary Data" is chosen).
- Unsupported image format: Only BMP, GIF, JPG, PNG, and TIFF formats are supported. Using other formats may cause errors.
- URL access issues: If using URL input, ensure the URL is publicly accessible and returns a valid image.
- Output file naming: Provide a valid filename with appropriate extension matching the new image format to avoid confusion.
- Conversion failures: May occur if the input image is corrupted or unsupported; verify the source image integrity.
Links and References
- ImageMagick - Common image processing toolkits often used for format conversion.
- Base64 Encoding - Explanation of base64 encoding for image data.
- Common Image Formats - Details on supported image formats.