PDF4me icon

PDF4me

PDF4me for n8n automates document workflows: AI-powered parsing, classification, and data extraction, plus PDF conversion, generation, merge/split, editing, forms, stamps, signatures, OCR, barcodes and Swiss QR, invoices, image processing, security, and Word tools.

Actions92

Image → Compress Image

AI-generated

Summary

Compresses an image through PDF4me and returns the compressed file as binary data. Choose an image source, then set the output format, compression level, and output names as needed.

Inputs

  • Input Image Data Type (required) — Select Binary Data, Base64 String, or URL as the image source.
  • Input Binary Field (required) — When using Binary Data, specify the incoming binary property name; defaults to data.
  • Base64 Image Content (required) — When using Base64 String, provide the encoded image content.
  • Image URL (required) — When using URL, provide the image file URL.
  • Output File Name — Name for the compressed image file; defaults to compressed_image.jpg.
  • Image Type — Output format: JPG or PNG; defaults to JPG.
  • Compression Level — Compression level: Max, Medium, or Low; defaults to Medium.
  • Binary Data Output Name — Name of the binary property in the n8n output; defaults to data.

Output shape

A single n8n item containing the compressed image as binary data.

The binary property name and file name are configurable. Runtime behavior could not be verified because the supplied source pack shows only the execute signature for this operation.

Links

Discussion