Utilities
Resize, optimize, and convert images
One image in, one resized or converted image out.
overview
What imagemagick does
Connect an image and the node runs ImageMagick 7 with the input first and a workflow output path last. Set -resize to dimensions such as 800x600, 50%, or 68x22, then set output-format to png, jpg, webp, or gif.
-quality controls compression quality for formats that support it. -strip removes profiles, comments, and metadata. -auto-orient rotates pixels according to orientation metadata and then resets that orientation.
ImageMagick transforms pixels and image containers. It does not extract document text or preserve every format-specific metadata field. Use ExifTool to inspect metadata before stripping it.
use cases
Where imagemagick fits
Create a thumbnail
Set -resize to bounded dimensions and write a smaller image for reports or notifications.
Remove image metadata
Enable -strip to remove profiles, comments, and embedded metadata from the output copy.
Normalize orientation
Enable -auto-orient so photos display consistently after downstream processing.
reference
imagemagick inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| input | FILE | --input | Input image file. |
| resize | STRING | --resize | Output dimensions such as 800x600 or 50%. |
| quality | STRING | --quality | Output compression quality from 0 to 100. |
| strip | BOOLEAN | --strip | Remove profiles, comments, and metadata. |
| output-format | STRING | --output-format | Output image format such as png, jpg, webp, or gif. |
Showing key inputs. imagemagick exposes 6 inputs in total.
Full flag reference (6 inputs)
| Name | Type | Flag | Description |
|---|---|---|---|
| input | FILE | --input | Input image file |
| resize | STRING | --resize | Output dimensions such as 800x600 or 50% |
| quality | STRING | --quality | Output compression quality from 0 to 100 |
| strip | BOOLEAN | --strip | Remove profiles, comments, and metadata |
| auto-orient | BOOLEAN | --auto-orient | Rotate the image according to its orientation metadata |
| output-format | STRING | --output-format | Output image format such as png, jpg, webp, or gif |
example
Run imagemagick
# ImageMagick 7magick input.png -resize 68x22 -strip output.pngoutput.png PNG 68x22 68x22+0+0 8-bit sRGBguidance
Choosing imagemagick
Use ImageMagick when the workflow must alter image pixels, dimensions, orientation, compression, or format. Use ExifTool when metadata is the actual result.
exiftool
Reads image and document metadata without changing pixels.
tesseract
Extracts text from image pixels with OCR.
ffmpeg
Transforms video and audio, and can process image sequences.
faq
imagemagick questions
related
More Utilities tools
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
dnsgen
Wordlist and mined-word subdomain permutation.
duckdb
In-process SQL on CSV, JSON, and Parquet. No server.
edge-tts
Microsoft Edge neural speech from text or a script file. No API key.
Run imagemagick yourself
A 272x88 PNG fixture feeds ImageMagick with -resize 68x22 and output-format set to png, producing a smaller PNG.
Facts on this page come from the live Trickest tool library.