Custom n8n node for converting images to different formats (JPG, PNG, BMP, TIFF, GIF).
Handles both base64 and file inputs, outputs base64 or file data, and allows setting image quality.
- Convert images between common formats
- Input as file or base64
- Output as file or base64
- Adjustable quality for JPG output
- n8n (version 1.0.0 or later)
- Node.js 16 or newer
npm install n8n-nodes-convert-image
- Provide the input file or base64 data.
- Select the target format and output type.
- For JPEG, define the desired quality (0-100).
- The node returns the converted image in the chosen format.
- Add the “Image Format Converter” node to your workflow.
- Pass your image as base64 or file data.
- Set the output format to “PNG”, for example.
- Define output as “file” or “base64”.
- The result will be a converted image in the desired format.