convert(1)

๐Ÿ“ฆ
version 7.1.2.35 ยท 5 versions
, in alpine 3.24, arch rolling, epel 10, fedora 43, fedora 44

convert(1) โ€” General Commands Manual ๐Ÿ’–

โœจ NAME โœจ

convert โ€” she converts between image formats, and also resizes an image, blurs it, crops it, despeckles it, dithers it, draws on it, flips it, joins it, re-samples it, and does so much more. periodt. ๐Ÿ’…

๐ŸŒธ SYNOPSIS ๐ŸŒธ

magick convert [input-options] input-file [output-options] output-file

๐Ÿฆ‹ OVERVIEW ๐Ÿฆ‹

okay so the convert program is a member of the ImageMagick(1) suite of tools. use it to convert between image formats, and also to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. it's giving main character energy for all your image needs. ๐Ÿ‘‘

for more info about the convert command, point your browser to file:///usr/share/doc/ImageMagick-7/www/convert.html or https://imagemagick.org/script/convert.php. no cap.

๐Ÿ’… DESCRIPTION ๐Ÿ’…

๐ŸŽ€ Image Settings ๐ŸŽ€

bestie, here's the full setting list. every single one. don't skip. ๐Ÿซถ

  • -adjoin โ€” join images into a single multi-image file, like one big happy file family ๐Ÿซถ
  • -affine matrix โ€” affine transform matrix, math girlie but for images โœจ
  • -alpha option โ€” activate, deactivate, reset, or set the alpha channel โ€” transparency decisions, we love her ๐Ÿ’…
  • -antialias โ€” remove pixel-aliasing โ€” smooth those jagged edges, slay
  • -authenticate value โ€” decrypt image with this password โ€” secret password moment ๐Ÿ”
  • -attenuate value โ€” lessen (or intensify) when adding noise to an image โ€” turn the noise volume up or down ๐ŸŽš๏ธ
  • -background color โ€” background color โ€” the backdrop, the vibe setter ๐ŸŒˆ
  • -bias value โ€” add bias when convolving an image โ€” convolution bias, periodt
  • -black-point-compensation โ€” use black point compensation โ€” yes bestie, compensate those blacks ๐Ÿ–ค
  • -blue-primary point โ€” chromaticity blue primary point โ€” blue's exact coordinate ๐Ÿ’™
  • -bordercolor color โ€” border color โ€” the outline's color, cute
  • -caption string โ€” assign a caption to an image โ€” give it a lil caption bestie ๐Ÿ“
  • -cdl filename โ€” color correct with a color decision list โ€” CDL color correction, no cap
  • -clip โ€” clip along the first path from the 8BIM profile โ€” clipping along that first 8BIM path โœ‚๏ธ
  • -clip-mask filename โ€” associate a clip mask with the image โ€” attach that clip mask bestie
  • -clip-path id โ€” clip along a named path from the 8BIM profile โ€” named path in the 8BIM profile, iykyk
  • -colorspace type โ€” alternate image colorspace โ€” swap the colorspace vibe ๐ŸŽจ
  • -comment string โ€” annotate image with comment โ€” drop a comment on it ๐Ÿ’ฌ
  • -compose operator โ€” set image composite operator โ€” composite operator setting, periodt
  • -compress type โ€” type of pixel compression when writing the image โ€” how pixels get squished on write ๐Ÿ“ฆ
  • -decipher filename โ€” convert cipher pixels to plain pixels โ€” decode the secret pixels ๐Ÿ”“
  • -define format:option โ€” define one or more image format options โ€” define format options, bestie
  • -delay centiseconds โ€” display the next image after pausing โ€” pause in centiseconds before next image โณ
  • -density geometry โ€” horizontal and vertical density of the image โ€” density geometry, horizontal and vertical
  • -depth value โ€” image depth โ€” set that depth value
  • -direction type โ€” render text right-to-left or left-to-right โ€” text direction, pick a lane โžก๏ธโฌ…๏ธ
  • -display server โ€” get image or font from this X server โ€” X server source, retro vibes
  • -dispose method โ€” layer disposal method โ€” how layers get disposed, method style
  • -dither method โ€” apply error diffusion to image โ€” dither with error diffusion, cute noise
  • -encipher filename โ€” convert plain pixels to cipher pixels โ€” encrypt those pixels ๐Ÿ”
  • -encoding type โ€” text encoding type โ€” text encoding, type it
  • -endian type โ€” endianness (MSB or LSB) of the image โ€” MSB or LSB endianness, big/little energy
  • -family name โ€” render text with this font family โ€” font family for text, bestie
  • -features distance โ€” analyze image features (e.g. contrast, correlation) โ€” analyze features like contrast and correlation ๐Ÿ”
  • -fill color โ€” color to use when filling a graphic primitive โ€” fill color for graphic primitives ๐ŸŽจ
  • -filter type โ€” use this filter when resizing an image โ€” resize filter, choose wisely
  • -flatten โ€” flatten a sequence of images โ€” flatten that sequence, periodt
  • -font name โ€” render text with this font โ€” pick the font, bestie
  • -format "string" โ€” output formatted image characteristics โ€” formatted image characteristics output
  • -fuzz distance โ€” colors within this distance are considered equal โ€” fuzz distance, colors are equal if close enough
  • -gravity type โ€” horizontal and vertical text placement โ€” gravity for text placement, horizontal and vertical
  • -green-primary point โ€” chromaticity green primary point โ€” green's exact coordinate ๐Ÿ’š
  • -intensity method โ€” method to generate intensity value from pixel โ€” how to make intensity from a pixel
  • -intent type โ€” type of rendering intent when managing the image color โ€” rendering intent type for color management
  • -interlace type โ€” type of image interlacing scheme โ€” interlacing scheme type
  • -interline-spacing value โ€” set the space between two text lines โ€” line spacing, but for text lines
  • -interpolate method โ€” pixel color interpolation method โ€” pixel color interpolation, method girlie
  • -interword-spacing value โ€” set the space between two words โ€” word spacing, bestie
  • -kerning value โ€” set the space between two letters โ€” letter spacing, kerning cutie
  • -label string โ€” assign a label to an image โ€” label that image ๐Ÿท๏ธ
  • -limit type value โ€” pixel cache resource limit โ€” limit that pixel cache resource
  • -loop iterations โ€” add Netscape loop extension to your GIF animation โ€” GIF loop extension, Netscape style
  • -matte โ€” store matte channel if the image has one โ€” keep the matte channel if it exists
  • -mattecolor color โ€” frame color โ€” matte frame color
  • -metric type โ€” measure differences between images with this metric โ€” compare images with this metric
  • -moments โ€” report image moments โ€” moments report, math girlie
  • -monitor โ€” monitor progress โ€” watch the progress ๐Ÿ‘€
  • -orient type โ€” image orientation โ€” orientation type
  • -page geometry โ€” size and location of an image canvas (setting) โ€” page geometry for canvas size and location
  • -ping โ€” efficiently determine image attributes โ€” efficient attribute check, bestie
  • -pointsize value โ€” font point size โ€” point size for font
  • -precision value โ€” maximum number of significant digits to print โ€” max significant digits to print
  • -preview type โ€” image preview type โ€” preview type
  • -quality value โ€” JPEG/MIFF/PNG compression level โ€” quality level for JPEG/MIFF/PNG
  • -quiet โ€” suppress all warning messages โ€” shush those warnings ๐Ÿคซ
  • -read-mask filename โ€” associate a read mask with the image โ€” read mask association
  • -red-primary point โ€” chromaticity red primary point โ€” red's exact coordinate โค๏ธ
  • -regard-warnings โ€” pay attention to warning messages โ€” listen to warnings, bestie
  • -remap filename โ€” transform image colors to match this set of colors โ€” remap colors to this set
  • -repage geometry โ€” size and location of an image canvas โ€” repage the canvas
  • -respect-parentheses โ€” settings remain in effect until parenthesis boundary โ€” respect the parentheses boundary
  • -sampling-factor geometry โ€” horizontal and vertical sampling factor โ€” sampling factor, horizontal and vertical
  • -scene value โ€” image scene number โ€” scene number
  • -seed value โ€” seed a new sequence of pseudo-random numbers โ€” seed those pseudo-random numbers ๐ŸŽฒ
  • -size geometry โ€” width and height of image โ€” size geometry, width and height
  • -statistic type geometry โ€” replace each pixel with corresponding statistic from the neighborhood โ€” statistic replacement from neighborhood
  • -stretch type โ€” render text with this font stretch โ€” font stretch for text
  • -stroke color โ€” graphic primitive stroke color โ€” stroke color for primitives
  • -strokewidth value โ€” graphic primitive stroke width โ€” stroke width for primitives
  • -style type โ€” render text with this font style โ€” font style for text
  • -support factor โ€” resize support: > 1.0 is blurry, < 1.0 is sharp โ€” support factor: > 1.0 blurry, < 1.0 sharp
  • -synchronize โ€” synchronize image to storage device โ€” sync it to storage
  • -taint โ€” declare the image as modified โ€” taint it as modified
  • -texture filename โ€” name of texture to tile onto the image background โ€” texture to tile on background
  • -tile-offset geometry โ€” tile offset โ€” tile offset geometry
  • -treedepth value โ€” color tree depth โ€” color tree depth
  • -transparent-color color โ€” transparent color โ€” the transparent color
  • -undercolor color โ€” annotation bounding box color โ€” undercolor for annotation bounding box
  • -units type โ€” the units of image resolution โ€” resolution units
  • -verbose โ€” print detailed information about the image โ€” verbose details, spill the tea โ˜•
  • -virtual-pixel method โ€” virtual pixel access method โ€” virtual pixel access method
  • -weight type โ€” render text with this font weight โ€” font weight for text
  • -white-point point โ€” chromaticity white point โ€” white point coordinate ๐Ÿค
  • -write-mask filename โ€” associate a write mask with the image โ€” write mask association

โœจ Image Operators โœจ

okay bestie, this is the big one: every single image operator. these are the flags that actually do stuff to your picture. let's get into it ๐Ÿ’…

  • -adaptive-blur geometry โ€” blur the pixels but adaptively: the blur effect gets softer near the edges. it's giving "gentle blur with boundaries" ๐Ÿฆ‹
  • -adaptive-resize geometry โ€” resize the image adaptively using data-dependent triangulation. fancy resize, no cap โœจ
  • -adaptive-sharpen geometry โ€” sharpen pixels adaptively: the effect gets stronger near the edges. edge sharpening with main character energy ๐Ÿ‘‘
  • -annotate geometry text โ€” annotate the image with text. put some words on it ๐Ÿ’ฌ
  • -auto-gamma โ€” automagically adjust the gamma level of the image. it just knows โœจ
  • -auto-level โ€” automagically adjust the color levels of the image. level up, literally ๐ŸŒˆ
  • -auto-orient โ€” automatically orient the image. it fixes the rotation based on EXIF data, iykyk ๐Ÿ”„
  • -auto-threshold method โ€” automatically perform image thresholding using the given method ๐ŸŽš๏ธ
  • -bench iterations โ€” measure performance by running it iterations times. benchmarking, periodt โฑ๏ธ
  • -bilateral-blur geometry โ€” a non-linear, edge-preserving, and noise-reducing smoothing filter. it's giving smooth but sharp ๐Ÿงš
  • -black-threshold value โ€” force all pixels below value into black. bye bye detail ๐Ÿ–ค
  • -blue-shift factor โ€” simulate a scene at nighttime in the moonlight, using factor. moon vibes ๐ŸŒ™
  • -blur geometry โ€” reduce image noise and reduce detail levels. classic blur, bestie ๐Ÿ’จ
  • -border geometry โ€” surround the image with a border of color. frame it up ๐Ÿ–ผ๏ธ
  • -brightness-contrast geometry โ€” improve the brightness / contrast of the image. glow up โœจ
  • -canny geometry โ€” detect edges in the image. canny edge detection, iconic ๐Ÿ”
  • -channel mask โ€” set the image channel mask. mask on ๐ŸŽญ
  • -charcoal radius โ€” simulate a charcoal drawing with the given radius. art class vibes ๐ŸŽจ
  • -chop geometry โ€” remove pixels from the image interior. chop chop โœ‚๏ธ
  • -clahe geometry โ€” contrast limited adaptive histogram equalization. say that three times fast ๐Ÿ˜ญ
  • -clamp โ€” keep pixel values in range (0-QuantumRange). no out-of-bounds nonsense ๐Ÿšซ
  • -clip โ€” clip along the first path from the 8BIM profile. clipping time โœ‚๏ธ
  • -clip-mask filename โ€” associate a clip mask from filename with the image ๐ŸŽญ
  • -clip-path id โ€” clip along a named path from the 8BIM profile using id ๐Ÿ›ค๏ธ
  • -colorize value โ€” colorize the image with the fill color, using value. tint it up ๐ŸŽ€
  • -color-matrix matrix โ€” apply color correction to the image using the given matrix ๐Ÿงฎ
  • -colors value โ€” preferred number of colors in the image. reduce the palette to value ๐ŸŒˆ
  • -color-threshold start_color-stop_color โ€” force all pixels in the color range from start_color to stop_color to white, otherwise black. periodt ๐Ÿ–ค๐Ÿค
  • -connected-component connectivity โ€” connected-components uniquely labeled, using the given connectivity ๐Ÿ”—
  • -contrast โ€” enhance or reduce the image contrast. contrast check โœ…
  • -contrast-stretch geometry โ€” improve contrast by `stretching' the intensity range. stretch it out ๐Ÿ’ช
  • -convolve coefficients โ€” apply a convolution kernel to the image using coefficients ๐ŸŒ€
  • -cycle amount โ€” cycle the image colormap by amount. spin that color wheel ๐ŸŽก
  • -deskew threshold โ€” straighten an image using threshold. tilt fixed ๐Ÿ“
  • -despeckle โ€” reduce the speckles within an image. bye spots ๐Ÿงผ
  • -distort method args โ€” distort images according to the given method and args. bend it like beckham ๐ŸŒ€
  • -draw string โ€” annotate the image with a graphic primitive using string โœ๏ธ
  • -edge radius โ€” apply a filter to detect edges in the image, using radius ๐Ÿ”
  • -emboss radius โ€” emboss an image with the given radius. 3D-ish vibes ๐Ÿ”๏ธ
  • -enhance โ€” apply a digital filter to enhance a noisy image. glow up for messy pics โœจ
  • -equalize โ€” perform histogram equalization to an image. balance restored โš–๏ธ
  • -evaluate operator value โ€” evaluate an arithmetic, relational, or logical expression using operator and value ๐Ÿงฎ
  • -extent geometry โ€” set the image size to geometry. size matters ๐Ÿ“
  • -extract geometry โ€” extract area from image using geometry โœ‚๏ธ
  • -fft โ€” implements the discrete Fourier transform (DFT) ๐ŸŒŠ
  • -flip โ€” flip image vertically. upside down, bestie ๐Ÿ™ƒ
  • -floodfill geometry color โ€” floodfill the image with color at geometry. paint bucket energy ๐Ÿชฃ
  • -flop โ€” flop image horizontally. mirror mirror ๐Ÿชž
  • -frame geometry โ€” surround image with an ornamental border. fancy frame ๐Ÿ–ผ๏ธ
  • -function name โ€” apply a function to the image using name ๐Ÿง 
  • -gamma value โ€” level of gamma correction, set to value ๐ŸŒŸ
  • -gaussian-blur geometry โ€” reduce image noise and reduce detail levels with a gaussian blur. soft focus ๐Ÿ’จ
  • -geometry geometry โ€” preferred size or location of the image, using geometry ๐Ÿ“
  • -grayscale method โ€” convert image to grayscale using method. black and white era ๐Ÿฉถ
  • -hough-lines geometry โ€” identify lines in the image using geometry ๐Ÿ“
  • -identify โ€” identify the format and characteristics of the image. detective mode ๐Ÿ”Ž
  • -ift โ€” implements the inverse discrete Fourier transform (DFT) ๐Ÿ”„
  • -implode amount โ€” implode image pixels about the center by amount. black hole vibes ๐Ÿ•ณ๏ธ
  • -integral โ€” calculate the sum of values (pixel values) in the image. math girlies rise ๐Ÿงฎ
  • -interpolative-resize geometry โ€” resize image using interpolation, with geometry โœจ
  • -kmeans geometry โ€” K means color reduction using geometry. cluster it ๐ŸŽจ
  • -lat geometry โ€” local adaptive thresholding using geometry ๐ŸŽš๏ธ
  • -layers method โ€” optimize or compare image layers using method ๐Ÿ“š
  • -level value โ€” adjust the level of image contrast using value ๐Ÿ“Š
  • -level-colors color,color โ€” level image with the given color,color pair ๐ŸŒˆ
  • -linear-stretch geometry โ€” improve contrast by `stretching with saturation' the intensity range. stretch and saturate ๐Ÿ’…
  • -liquid-rescale geometry โ€” rescale image with seam-carving. liquid rescale, it's giving magic ๐Ÿช„
  • -mean-shift geometry โ€” delineate arbitrarily shaped clusters in the image using geometry ๐Ÿซง
  • -median geometry โ€” apply a median filter to the image using geometry ๐Ÿงน
  • -mode geometry โ€” make each pixel the 'predominant color' of the neighborhood, using geometry ๐Ÿ‘‘
  • -modulate value โ€” vary the brightness, saturation, and hue using value ๐ŸŽ›๏ธ
  • -monochrome โ€” transform image to black and white. monochrome moment ๐Ÿ–ค๐Ÿค
  • -morphology method kernel โ€” apply a morphology method with kernel to the image ๐Ÿงฌ
  • -motion-blur geometry โ€” simulate motion blur using geometry. zoom zoom ๐Ÿ’จ
  • -negate โ€” replace each pixel with its complementary color. negative space ๐ŸŒ—
  • -noise geometry โ€” add or reduce noise in an image using geometry. static vibes ๐Ÿ“บ
  • -normalize โ€” transform image to span the full range of colors. normalize it โœจ
  • -opaque color โ€” change this color to the fill color. swap it out ๐ŸŽจ
  • -ordered-dither NxN โ€” add a noise pattern to the image with specific amplitudes, using an NxN dither ๐ŸŽ›๏ธ
  • -paint radius โ€” simulate an oil painting with the given radius. art hoe energy ๐ŸŽจ
  • -perceptible epsilon โ€” pixel values less than |epsilon| become epsilon or -epsilon ๐Ÿงš
  • -polaroid angle โ€” simulate a Polaroid picture with the given angle. vintage vibes ๐Ÿ“ธ
  • -posterize levels โ€” reduce the image to a limited number of color levels. posterize it ๐ŸŽจ
  • -print string โ€” interpret string and print to console. say it louder ๐Ÿ—ฃ๏ธ
  • -profile filename โ€” add, delete, or apply an image profile from filename ๐Ÿ“
  • -quantize colorspace โ€” reduce colors in this colorspace. quantize it ๐ŸŒˆ
  • -radial-blur angle โ€” radial blur the image by angle. spin blur ๐ŸŒ€
  • -raise value โ€” lighten/darken image edges to create a 3-D effect using value ๐Ÿ”๏ธ
  • -random-threshold low,high โ€” random threshold the image using low,high ๐ŸŽฒ
  • -range-threshold values โ€” perform either hard or soft thresholding within some range of values in an image ๐Ÿ“Š
  • -region geometry โ€” apply options to a portion of the image defined by geometry ๐Ÿ—บ๏ธ
  • -render โ€” render vector graphics. render queen ๐Ÿ‘‘
  • -resample geometry โ€” change the resolution of an image using geometry ๐Ÿ“
  • -resize geometry โ€” resize the image to geometry. classic resize โœจ
  • -roll geometry โ€” roll an image vertically or horizontally by geometry. roll it ๐ŸŽฒ
  • -rotate degrees โ€” apply Paeth rotation to the image by degrees. spin it ๐Ÿ”„
  • -sample geometry โ€” scale image with pixel sampling using geometry ๐Ÿ”
  • -scale geometry โ€” scale the image to geometry. scale it up ๐Ÿ“
  • -segment values โ€” segment an image using values. cut it into pieces ๐Ÿงฉ
  • -selective-blur geometry โ€” selectively blur pixels within a contrast threshold, using geometry ๐ŸŽฏ
  • -sepia-tone threshold โ€” simulate a sepia-toned photo with threshold. vintage filter ๐ŸŸค
  • -set property value โ€” set an image property to value ๐Ÿท๏ธ
  • -shade degrees โ€” shade the image using a distant light source at degrees. dramatic lighting ๐Ÿ’ก
  • -shadow geometry โ€” simulate an image shadow using geometry. shadow work ๐ŸŒ‘
  • -sharpen geometry โ€” sharpen the image using geometry. crisp it up ๐Ÿ”ช
  • -shave geometry โ€” shave pixels from the image edges using geometry. trim the edges โœ‚๏ธ
  • -shear geometry โ€” slide one edge of the image along the X or Y axis using geometry. slant it ๐Ÿ“
  • -sigmoidal-contrast geometry โ€” lightness rescaling using sigmoidal contrast enhancement, with geometry ๐Ÿ“ˆ
  • -sketch geometry โ€” simulate a pencil sketch using geometry. doodle vibes โœ๏ธ
  • -solarize threshold โ€” negate all pixels above the threshold level. solarize it โ˜€๏ธ
  • -sort-pixels โ€” sort each scanline in ascending order of intensity. organized queen ๐Ÿ“Š
  • -sparse-color method args โ€” fill in an image based on a few color points, using method and args ๐ŸŽจ
  • -splice geometry โ€” splice the background color into the image using geometry ๐Ÿงฌ
  • -spread amount โ€” displace image pixels by a random amount. scatter it ๐ŸŽฒ
  • -strip โ€” strip image of all profiles and comments. naked image, no metadata ๐Ÿซฃ
  • -swirl degrees โ€” swirl image pixels about the center by degrees. swirl it ๐ŸŒ€
  • -threshold value โ€” threshold the image using value. black or white, no in-between ๐ŸŽš๏ธ
  • -thumbnail geometry โ€” create a thumbnail of the image using geometry. tiny version ๐Ÿ“ธ
  • -tile filename โ€” tile image when filling a graphic primitive, using filename ๐Ÿงฑ
  • -tint value โ€” tint the image with the fill color using value. tint it ๐ŸŽ€
  • -transform โ€” affine transform image. transform it โœจ
  • -transparent color โ€” make this color transparent within the image. see-through ๐Ÿ‘ป
  • -transpose โ€” flip image vertically and rotate 90 degrees. flip and rotate ๐Ÿ”„
  • -transverse โ€” flop image horizontally and rotate 270 degrees. flop and rotate ๐ŸŒ€
  • -trim โ€” trim image edges. crop the excess โœ‚๏ธ
  • -type type โ€” set the image type. type check ๐Ÿ“ท
  • -unique-colors โ€” discard all but one of any pixel color. one of each, periodt ๐ŸŒˆ
  • -unsharp geometry โ€” sharpen the image using geometry. unsharp mask, iconic ๐Ÿ”ช
  • -vignette geometry โ€” soften the edges of the image in vignette style using geometry ๐ŸŒธ
  • -wave geometry โ€” alter an image along a sine wave using geometry. wavy ๐ŸŒŠ
  • -wavelet-denoise threshold โ€” removes noise from the image using a wavelet transform with threshold. denoise it ๐Ÿงผ
  • -white-balance โ€” automagically adjust white balance of image. balance restored โš–๏ธ
  • -white-threshold value โ€” force all pixels above value into white. bye bye highlights ๐Ÿค

๐ŸŒˆ Image Channel Operators ๐ŸŒˆ

these are the channel-specific girlies. separate, exchange, extract, transfer โ€” channel drama, but make it useful ๐Ÿ’…

  • -channel-fx expression โ€” exchange, extract, or transfer one or more image channels using expression. channel switch-up ๐Ÿ”€
  • -separate โ€” separate an image channel into a grayscale image. split it ๐Ÿฉถ

๐ŸŒˆ Image Sequence Operators ๐ŸŒˆ

Okay bestie, this is the part where we stop treating images like lonely little individuals and start moving them around as a whole squad. Group-chat energy, but for pixels. ๐Ÿซถ

  • -append โ€” appends an image sequence top to bottom. Want it left to right instead? Use +append. Boom, orientation slay. ๐Ÿ’…
  • -clut โ€” applies a color lookup table to the image. Color glow-up, no cap. ๐ŸŽ€
  • -coalesce โ€” merges a sequence of images.
  • -combine โ€” combines a sequence of images. Yes, -coalesce and -combine are both right there in the list, they're separate options, that's just the vibe. ๐Ÿ™ˆ
  • -compare โ€” mathematically and visually annotates the difference between an image and its reconstruction. It's giving "spot the difference" but make it math. ๐Ÿ”ฅ
  • -complex operator โ€” performs complex mathematics on an image sequence.
  • -composite โ€” composites image.
  • -copy geometry offset, โ€” copies pixels from one area of an image to another.
  • -crop geometry โ€” cuts out a rectangular region of the image. โœ‚๏ธ
  • -deconstruct โ€” breaks down an image sequence into constituent parts.
  • -evaluate-sequence operator โ€” evaluates an arithmetic, relational, or logical expression.
  • -flatten โ€” flattens a sequence of images.
  • -fx expression โ€” applies a mathematical expression to an image channel(s).
  • -hald-clut โ€” applies a Hald color lookup table to the image.
  • -morph value โ€” morphs an image sequence.
  • -mosaic โ€” creates a mosaic from an image sequence.
  • -poly terms โ€” builds a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs). Math girlies, rise. ๐Ÿ‘‘
  • -process arguments โ€” processes the image with a custom image filter.
  • -smush geometry โ€” smushes an image sequence together. "Smush" is genuinely the technical term and I am obsessed with that for us. ๐Ÿ˜ญ
  • -write filename โ€” writes images to this file.

๐Ÿงš Image Stack Operators ๐Ÿงš

Now we're cloning, deleting, swapping โ€” full image-stack drama, but make it productive. โœจ

  • -clone indexes โ€” clones an image.
  • -delete indexes โ€” deletes the image from the image sequence.
  • -duplicate count,indexes โ€” duplicates an image one or more times.
  • -insert index โ€” inserts the last image into the image sequence.
  • -reverse โ€” reverses the image sequence.
  • -swap indexes โ€” swaps two images in the image sequence.

๐Ÿ’œ Miscellaneous Options ๐Ÿ’œ

  • -debug events โ€” displays copious debugging information. Copious. Like, a LOT of it.
  • -distribute-cache port โ€” distributed pixel cache spanning one or more servers.
  • -help โ€” prints program options. Peak bestie behaviour, fr fr.
  • -log format โ€” format of debugging information.
  • -list type โ€” prints a list of supported option arguments.
  • -version โ€” prints version information.

Here's the tea on settings vs. operators, and you're gonna want to write this one down: you can use any setting or operator as an output-option. But only a limited number of settings are input-option. That short list is: -antialias, -caption, -density, -define, -encoding, -font, -pointsize, -size, and -texture โ€” plus any of the miscellaneous options. That's it. That's the whole list. ๐Ÿ’€

Lowkey the most important thing on this page: don't assume every setting can go on the input side. Only the ones above can.

And now, the format situation. By default, the image format of file is determined by its magic number โœจ โ€” it just knows. But if you wanna specify a particular image format, you've got two moves: precede the filename with an image format name and a colon (i.e. ps:image), or specify the image type as the filename suffix (i.e. image.ps). And if you want standard input or output, just specify 'file' as -. Simple as that. ๐Ÿฆ‹

ps:image
image.ps
-

๐Ÿ“– SEE ALSO ๐Ÿ“–


Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, so go peek at file:///usr/share/doc/ImageMagick-7/www/license.html or https://imagemagick.org/license/. ๐Ÿซถ


And that's a wrap on the whole page, angel ๐Ÿ’– brought to you by ImageMagick, dated 2009/01/10 01:00:00, and yes, this is the convert(1) manual, periodt. Go forth and convert. ๐ŸŒธโœจ๐Ÿ‘‘