CLI Reference

For users migrating old CLI scripts to python.

CLI Operators to Wand Methods

This table maps ImageMagick’s CLI operators to Wand’s Image methods.

CLI Operators

Wand Methods

-adaptive-blur

wand.image.BaseImage.adaptive_blur()

-adaptive-resize

wand.image.BaseImage.adaptive_resize()

-adaptive-sharpen

wand.image.BaseImage.adaptive_sharpen()

-annotate

wand.image.BaseImage.annotate()

-append

wand.image.BaseImage.concat()

-auto-gamma

wand.image.BaseImage.auto_gamma()

-auto-level

wand.image.BaseImage.auto_level()

-auto-orient

wand.image.BaseImage.auto_orient()

-auto-threshold

wand.image.BaseImage.auto_threshold()

-black-threshold

wand.image.BaseImage.black_threshold()

-blue-shift

wand.image.BaseImage.blue_shift()

-blur

wand.image.BaseImage.blur()

-border

wand.image.BaseImage.border()

-brightness-contrast

wand.image.BaseImage.brightness_contrast()

-canny

wand.image.BaseImage.canny()

-caption

wand.image.BaseImage.caption()

-cdl

wand.image.BaseImage.color_decision_list()

-charcoal

wand.image.BaseImage.charcoal()

-chop

wand.image.BaseImage.chop()

-clahe

wand.image.BaseImage.clahe()

-clamp

wand.image.BaseImage.clamp()

-clut

wand.image.BaseImage.clut()

-coalesce

wand.image.BaseImage.coalesce()

-colorize

wand.image.BaseImage.colorize()

-colormap

wand.image.BaseImage.color_map()

-color-matrix

wand.image.BaseImage.color_matrix()

-color-threshold

wand.image.BaseImage.color_threshold()

-colorspace

wand.image.BaseImage.transform_colorspace()

-compare

wand.image.BaseImage.compare()

-complex

wand.image.BaseImage.complex()

-composite

wand.image.BaseImage.composite()

-connected-components

wand.image.BaseImage.connected_components()

-contrast

wand.image.BaseImage.contrast()

-contrast-stretch

wand.image.BaseImage.contrast_stretch()

-crop

wand.image.BaseImage.crop()

-cycle

wand.image.BaseImage.cycle_color_map()

-decipher

wand.image.BaseImage.decipher()

-deconstruct

wand.image.BaseImage.deconstruct()

-deskew

wand.image.BaseImage.deskew()

-despeckle

wand.image.BaseImage.despeckle()

-distort

wand.image.BaseImage.distort()

-edge

wand.image.BaseImage.edge()

-emboss

wand.image.BaseImage.emboss()

-encipher

wand.image.BaseImage.encipher()

-enhance

wand.image.BaseImage.enhance()

-equalize

wand.image.BaseImage.equalize()

-evaluate

wand.image.BaseImage.evaluate()

-extent

wand.image.BaseImage.extent()

-features

wand.image.BaseImage.features()

-fft

wand.image.BaseImage.forward_fourier_transform()

-flip

wand.image.BaseImage.flip()

-flop

wand.image.BaseImage.flop()

-frame

wand.image.BaseImage.frame()

-function

wand.image.BaseImage.function()

-fx

wand.image.BaseImage.fx()

-gamma

wand.image.BaseImage.gamma()

-gaussian-blur

wand.image.BaseImage.gaussian_blur()

-hald-clut

wand.image.BaseImage.hald_clut()

-hough-lines

wand.image.BaseImage.hough_lines()

-ift

wand.image.BaseImage.inverse_fourier_transform()

-implode

wand.image.BaseImage.implode()

-kmeans

wand.image.BaseImage.kmeans()

-kuwahara

wand.image.BaseImage.kuwahara()

-lat

wand.image.BaseImage.adaptive_threshold()

-level

wand.image.BaseImage.level()

+level

wand.image.BaseImage.levelize()

-level-colors

wand.image.BaseImage.level_colors()

+level-colors

wand.image.BaseImage.levelize_colors()

-linear-stretch

wand.image.BaseImage.linear_stretch()

-liquid-rescale

wand.image.BaseImage.liquid_rescale()

-magnify

wand.image.BaseImage.magnify()

-mean-shift

wand.image.BaseImage.mean_shift()

-layers

wand.image.BaseImage.merge_layers()

-layers

wand.image.Image.compare_layers()

-layers

wand.image.BaseImage.optimize_layers()

-layers

wand.image.BaseImage.optimize_transparency()

-mode

wand.image.BaseImage.mode()

-modulate

wand.image.BaseImage.modulate()

-morphology

wand.image.BaseImage.morphology()

-motion-blur

wand.image.BaseImage.motion_blur()

-negate

wand.image.BaseImage.negate()

-noise

wand.image.BaseImage.noise()

-normalize

wand.image.BaseImage.normalize()

-paint

wand.image.BaseImage.oil_paint()

-opaque

wand.image.BaseImage.opaque_paint()

-ordered-dither

wand.image.BaseImage.ordered_dither()

-polaroid

wand.image.BaseImage.polaroid()

-polynomial

wand.image.BaseImage.polynomial()

-posterize

wand.image.BaseImage.posterize()

-quantize

wand.image.BaseImage.quantize()

-random-threshold

wand.image.BaseImage.random_threshold()

-range-threshold

wand.image.BaseImage.range_threshold()

-read-mask

wand.image.BaseImage.read_mask()

-remap

wand.image.BaseImage.remap()

-resample

wand.image.BaseImage.resample()

+repage

wand.image.BaseImage.reset_coords()

-resize

wand.image.BaseImage.resize()

-rotate

wand.image.BaseImage.rotate()

-radial_blur

wand.image.BaseImage.rotational_blur()

-sample

wand.image.BaseImage.sample()

-scale

wand.image.BaseImage.scale()

-selective-blur

wand.image.BaseImage.selective_blur()

-sepia-tone

wand.image.BaseImage.sepia_tone()

-shade

wand.image.BaseImage.shade()

-shadow

wand.image.BaseImage.shadow()

-sharpen

wand.image.BaseImage.sharpen()

-shave

wand.image.BaseImage.shave()

-shear

wand.image.BaseImage.shear()

-sigmoidal-contrast

wand.image.BaseImage.sigmoidal_contrast()

-similarity-threshold

See wand.image.BaseImage.similarity()

-subimage-search

See wand.image.BaseImage.similarity()

-sketch

wand.image.BaseImage.sketch()

-smush

wand.image.BaseImage.smush()

-solarize

wand.image.BaseImage.solarize()

-sparse-color

wand.image.BaseImage.sparse_color()

-splice

wand.image.BaseImage.splice()

-spread

wand.image.BaseImage.spread()

-stegano

wand.image.BaseImage.stegano()

-stereo

wand.image.Image.stereogram()

-statistic

wand.image.BaseImage.statistic()

-strip

wand.image.BaseImage.strip()

-swap

wand.image.Image.image_swap()

-swirl

wand.image.BaseImage.swirl()

-texture

wand.image.BaseImage.texture()

-threshold

wand.image.BaseImage.threshold()

-thumbnail

wand.image.BaseImage.thumbnail()

-tint

wand.image.BaseImage.tint()

-transform

wand.image.BaseImage.transform()

-transparent-color

wand.image.BaseImage.transparent_color()

-transpose

wand.image.BaseImage.transpose()

-transverse

wand.image.BaseImage.transverse()

-treedepth

See wand.image.BaseImage.quantize()

-trim

wand.image.BaseImage.trim()

-unique-colors

wand.image.BaseImage.unique_colors()

-unsharp-mask

wand.image.BaseImage.unsharp_mask()

-vignette

wand.image.BaseImage.vignette()

-watermark

wand.image.BaseImage.watermark()

-wave

wand.image.BaseImage.wave()

-wavelet-denoise

wand.image.BaseImage.wavelet_denoise()

-white-balance

wand.image.BaseImage.white_balance()

-white-threshold

wand.image.BaseImage.white_threshold()

-write-mask

wand.image.BaseImage.write_mask()

CLI Options to Wand Properties

This table list ImageMagick’s options, and maps them to Wand’s Image properties.

CLI Options

Wand Properties

-alpha

wand.image.BaseImage.alpha_channel

-antialias

wand.image.BaseImage.font_antialias

-antialias

wand.image.BaseImage.antialias

-attenuate

See wand.image.BaseImage.noise()

-background

wand.image.BaseImage.background_color

-blue-primary

wand.image.BaseImage.blue_primary

-bordercolor

wand.image.BaseImage.border_color

-colorspace

wand.image.BaseImage.colorspace

-compose

wand.image.BaseImage.compose

-compression

wand.image.BaseImage.compression

-delay

wand.image.BaseImage.ticks_per_second

-delay

wand.sequence.SingleImage.delay

-density

wand.image.BaseImage.resolution

-depth

wand.image.BaseImage.depth

-dispose

wand.image.BaseImage.dispose

-fill

wand.image.BaseImage.font_color

-font

wand.image.BaseImage.font

-format

wand.image.BaseImage.format

-fuzz

wand.image.BaseImage.fuzz

-gravity

wand.image.BaseImage.gravity

-green-primary

wand.image.BaseImage.green_primary

-intent

wand.image.BaseImage.rendering_intent

-interlace

wand.image.BaseImage.interlace_scheme

-interpolate

wand.image.BaseImage.interpolate_method

-loop

wand.image.BaseImage.loop

-mattecolor

wand.image.BaseImage.matte_color

-orientation

wand.image.BaseImage.orientation

-page

wand.image.BaseImage.page

-page

wand.image.BaseImage.page_height

-page

wand.image.BaseImage.page_width

-page

wand.image.BaseImage.page_x

-page

wand.image.BaseImage.page_y

-pointsize

wand.image.BaseImage.font_size

-quality

wand.image.BaseImage.compression_quality

-red-primary

wand.image.BaseImage.red_primary

-sampling-factor

wand.image.BaseImage.sampling_factors

-scene

wand.image.BaseImage.scene

-seed

wand.image.BaseImage.seed

-size

wand.image.BaseImage.height

-size

wand.image.BaseImage.width

-size

wand.image.BaseImage.size

-stroke

wand.image.BaseImage.stroke_color

-strokewidth

wand.image.BaseImage.stroke_width

-treedepth

See wand.image.BaseImage.quantize()

-type

wand.image.BaseImage.type

-units

wand.image.BaseImage.units

-virtual-pixel

wand.image.BaseImage.virtual_pixel

-white-point

wand.image.BaseImage.white_point