convert.im6
Convert images between different formats
SYNOPSIS
convert.im6 [options...] input-file [output-file]
PARAMETERS
-alpha
Manage alpha (transparency) channel
-background
Set background color
-blur
Blur image with radius and sigma
-border
Add border with width and height
-channel
Apply operation to specific channels (e.g., RGBA)
-colorspace
Set colorspace (e.g., RGB, CMYK, Gray)
-compress
Image compression type (e.g., JPEG, LZW)
-crop
Crop to specified widthxheight+x+y
-density
Set resolution for input/output
-despeckle
Reduce noise in image
-format
Output format specifier for expressions
-fuzz
Colors within fuzz percent match
-gravity
Direction for positioning (North, Center)
-quality
Compression quality (0-100)
-resize
Resize image (e.g., 800x600, 50%)
-rotate
Rotate image clockwise
-scale
Deprecated alias for resize
-sharpen
Sharpen with radius and sigma
-strip
Remove all image profiles and comments
-trim
Trim edges to content
DESCRIPTION
convert.im6 is the ImageMagick 6 utility for converting and manipulating raster images from the command line.
It supports over 200 image formats including JPEG, PNG, GIF, TIFF, PDF, and more. Users can resize, crop, rotate, apply filters, adjust colors, add text, and perform batch operations.
Ideal for automation in scripts, web processing, or thumbnails. Unlike the newer magick command in ImageMagick 7, convert.im6 is specifically for version 6 installations, often symlinked or renamed to avoid conflicts with Windows or other Unix convert tools.
Key strengths include geometry-based operations (e.g., -resize 50%), colorspace transformations, and metadata handling. Output defaults to the extension-specified format if omitted.
Deprecated in modern setups but widely used in legacy systems and distributions like older Ubuntu/Debian.
CAVEATS
Deprecated in ImageMagick 7 (use magick); potential name conflict with other convert commands; resource limits may cause failures on large images without tuning.
BASIC EXAMPLES
convert.im6 rose.jpg -resize 50% thumb.jpg
convert.im6 input.png -quality 85 output.jpg
convert.im6 *.png +append result.png
BATCH PROCESSING
Use with shell: for f in *.jpg; do convert.im6 "$f" -resize 1024x thumb_"$f"; done
Supports multiple inputs with operators like -append, -mosaic.
HISTORY
Developed as part of ImageMagick 6 (2002-2018) by ImageMagick Studio LLC. Renamed to convert.im6 in some distros (e.g., Ubuntu 18.04+) to avoid clashing with Windows convert.exe or other tools. Superseded by unified magick CLI in v7 (2017+).


