mogrify(1)

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

๐Ÿ’– mogrify(1) ๐Ÿ’–

hey bestie! welcome to the mogrify(1) page from the General Commands Manual. this is part 1, so buckle up ๐ŸŽ€


โœจ NAME โœจ

okay so mogrify is literally that girl ๐Ÿ’… she resizes, blurs, crops, despeckles, dithers, draws on, flips, joins, re-samples, and does so much more. but here's the tea โ˜•: she overwrites the original image file, no cap. whereas convert(1) writes to a different image file. periodt.


๐ŸŒธ SYNOPSIS ๐ŸŒธ

magick mogrify [options] input-file

๐Ÿฆ‹ OVERVIEW ๐Ÿฆ‹

mogrify is part of the ImageMagick(1) squad, bestie ๐Ÿซถ. you use it to resize, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more โœจ. it's basically convert(1)'s twin, except the original image file gets overwritten with any changes you ask for. so like, be careful, okay? ๐Ÿ™ˆ

want the full lore? point your browser to file:///usr/share/doc/ImageMagick-7/www/mogrify.html or https://imagemagick.org/script/mogrify.php. iykyk ๐Ÿ’…


๐Ÿ’… DESCRIPTION ๐Ÿ’…

๐ŸŽ€ Image Settings ๐ŸŽ€

okay so here's the full rundown of all the image settings you can use, bestie. no skipping, we're going through every single one ๐Ÿ’–:

  • -adjoin โ€” join images into a single multi-image file ๐Ÿ’–
  • -affine matrix โ€” affine transform matrix โœจ
  • -antialias โ€” remove pixel-aliasing ๐Ÿฆ‹
  • -authenticate value โ€” decrypt image with this password ๐Ÿ”
  • -attenuate value โ€” lessen (or intensify) when adding noise to an image ๐Ÿ˜ญ
  • -background color โ€” background color ๐ŸŽจ
  • -bias value โ€” add bias when convolving an image ๐Ÿ’™
  • -black-point-compensation โ€” use black point compensation ๐Ÿ‘‘
  • -blue-primary point โ€” chromaticity blue primary point ๐Ÿ’™
  • -bordercolor color โ€” border color ๐Ÿ’…
  • -caption string โ€” assign a caption to an image ๐Ÿ“
  • -cdl filename โ€” color correct with a color decision list ๐ŸŒˆ
  • -colorspace type โ€” alternate image colorspace ๐ŸŽจ
  • -comment string โ€” annotate image with comment ๐Ÿ’ฌ
  • -compose operator โ€” set image composite operator โœจ
  • -compress type โ€” type of pixel compression when writing the image ๐Ÿ’พ
  • -decipher filename โ€” convert cipher pixels to plain pixels ๐Ÿ”“
  • -define format:option โ€” define one or more image format options ๐Ÿ› ๏ธ
  • -delay centiseconds โ€” display the next image after pausing โณ
  • -density geometry โ€” horizontal and vertical density of the image ๐Ÿ“
  • -depth value โ€” image depth ๐ŸŒŠ
  • -direction type โ€” render text right-to-left or left-to-right โ†”๏ธ
  • -display server โ€” get image or font from this X server ๐Ÿ–ฅ๏ธ
  • -dispose method โ€” layer disposal method ๐Ÿ—‘๏ธ
  • -dither method โ€” apply error diffusion to image ๐ŸŒซ๏ธ
  • -encipher filename โ€” convert plain pixels to cipher pixels ๐Ÿ”’
  • -encoding type โ€” text encoding type ๐Ÿ”ค
  • -endian type โ€” endianness (MSB or LSB) of the image ๐Ÿ”„
  • -family name โ€” render text with this font family ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
  • -features distance โ€” analyze image features (e.g. contrast, correlation) ๐Ÿ”
  • -fill color โ€” color to use when filling a graphic primitive ๐Ÿ–Œ๏ธ
  • -filter type โ€” use this filter when resizing an image ๐Ÿ–ผ๏ธ
  • -flatten โ€” flatten a sequence of images ๐Ÿฅž
  • -font name โ€” render text with this font โœ๏ธ
  • -format type โ€” image format type ๐Ÿ“
  • -function name โ€” apply a function to the image ๐Ÿงฎ
  • -fuzz distance โ€” colors within this distance are considered equal ๐ŸŒˆ
  • -gravity type โ€” horizontal and vertical text placement ๐Ÿงญ
  • -green-primary point โ€” chromaticity green primary point ๐Ÿ’š
  • -intensity method โ€” method to generate intensity value from pixel ๐Ÿ’ก
  • -intent type โ€” type of rendering intent when managing the image color ๐ŸŽฏ
  • -interlace type โ€” type of image interlacing scheme ๐Ÿงฉ
  • -interline-spacing value โ€” set the space between two text lines ๐Ÿ“
  • -interpolate method โ€” pixel color interpolation method ๐Ÿ”€
  • -interword-spacing value โ€” set the space between two words ๐Ÿ“
  • -kerning value โ€” set the space between two letters ๐Ÿ”ค
  • -label string โ€” assign a label to an image ๐Ÿท๏ธ
  • -limit type value โ€” pixel cache resource limit ๐Ÿšฆ
  • -loop iterations โ€” add Netscape loop extension to your GIF animation ๐Ÿ”
  • -matte โ€” store matte channel if the image has one ๐ŸŽญ
  • -mattecolor color โ€” frame color ๐Ÿ–ผ๏ธ
  • -metric type โ€” measure differences between images with this metric ๐Ÿ“Š
  • -monitor โ€” monitor progress ๐Ÿ‘€
  • -morphology method kernel โ€” apply a morphology method to the image ๐Ÿงฌ
  • -orient type โ€” image orientation ๐Ÿงญ
  • -page geometry โ€” size and location of an image canvas (setting) ๐Ÿ“„
  • -path path โ€” write images to this path on disk ๐Ÿ’พ
  • -perceptible epsilon โ€” pixel value less than |epsilon| become epsilon or -epsilon ๐Ÿ˜ต
  • -ping โ€” efficiently determine image attributes ๐Ÿ“
  • -pointsize value โ€” font point size ๐Ÿ” 
  • -precision value โ€” maximum number of significant digits to print ๐Ÿ”ข
  • -preview type โ€” image preview type ๐Ÿ‘€
  • -quality value โ€” JPEG/MIFF/PNG compression level ๐ŸŽš๏ธ
  • -quiet โ€” suppress all warning messages ๐Ÿคซ
  • -read-mask filename โ€” associate a read mask with the image ๐Ÿ“–
  • -red-primary point โ€” chromaticity red primary point โค๏ธ
  • -regard-warnings โ€” pay attention to warning messages โš ๏ธ
  • -remap filename โ€” transform image colors to match this set of colors ๐ŸŽจ
  • -repage geometry โ€” size and location of an image canvas ๐Ÿ“
  • -respect-parentheses โ€” settings remain in effect until parenthesis boundary ๐Ÿงท
  • -sampling-factor geometry โ€” horizontal and vertical sampling factor ๐Ÿ“Š
  • -scene value โ€” image scene number ๐ŸŽฌ
  • -seed value โ€” seed a new sequence of pseudo-random numbers ๐ŸŽฒ
  • -size geometry โ€” width and height of image ๐Ÿ“
  • -stretch type โ€” render text with this font stretch ๐Ÿ‹๏ธ
  • -stroke color โ€” graphic primitive stroke color ๐Ÿ–Œ๏ธ
  • -strokewidth value โ€” graphic primitive stroke width ๐Ÿ–๏ธ
  • -style type โ€” render text with this font style โœจ
  • -synchronize โ€” synchronize image to storage device ๐Ÿ”„
  • -taint โ€” declare the image as modified ๐Ÿท๏ธ
  • -texture filename โ€” name of texture to tile onto the image background ๐Ÿงต
  • -tile-offset geometry โ€” tile offset ๐Ÿงฉ
  • -treedepth value โ€” color tree depth ๐ŸŒณ
  • -transparent-color color โ€” transparent color ๐Ÿ‘ป
  • -undercolor color โ€” annotation bounding box color ๐ŸŸจ
  • -units type โ€” the units of image resolution ๐Ÿ“
  • -verbose โ€” print detailed information about the image ๐Ÿ—ฃ๏ธ
  • -virtual-pixel method โ€” virtual pixel access method ๐Ÿ‘พ
  • -weight type โ€” render text with this font weight ๐Ÿ‹๏ธ
  • -white-point point โ€” chromaticity white point โšช
  • -write-mask filename โ€” associate a write mask with the image โœ๏ธ
bestie, remember: mogrify overwrites your original file. always back up if you're not 100% sure, okay? ๐Ÿ™ˆ๐Ÿ’–

โœจ Image Operators โœจ

okay bestie, these are the image operators โ€” the tools that actually do stuff to your pics. each one takes some args (or none), and you use them with mogrify to edit images in place. let's go through every single one, no skips, fr fr. ๐Ÿ’…

  • -adaptive-blur geometry โ€” adaptively blur pixels; the effect gets weaker near the edges. soft focus but smarter. โœจ
  • -adaptive-resize geometry โ€” resize the image adaptively using data-dependent triangulation. lowkey fancy. ๐Ÿฆ‹
  • -adaptive-sharpen geometry โ€” adaptively sharpen pixels; the effect gets stronger near the edges. contrast where it matters. ๐Ÿ”ฅ
  • -alpha option โ€” set the alpha channel. option can be on, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape. yes, that's a lot of options. ๐Ÿ’€
  • -annotate geometry text โ€” annotate the image with text. like writing on it, but make it cute. ๐ŸŽ€
  • -auto-gamma โ€” automagically adjust the gamma level of the image. no cap, it just does it. โœจ
  • -auto-level โ€” automagically adjust the color levels of the image. glow-up for your colors. ๐ŸŒˆ
  • -auto-orient โ€” automatically orient the image. so it's not sideways, periodt. ๐Ÿ”„
  • -auto-threshold method โ€” automatically perform image thresholding. let the algorithm decide. ๐Ÿง 
  • -bench iterations โ€” measure performance. for when you wanna know how fast it's going. โฑ๏ธ
  • -bilateral-blur geometry โ€” a non-linear, edge-preserving, and noise-reducing smoothing filter. it's giving smooth but not blurry. ๐Ÿงš
  • -black-threshold value โ€” force all pixels below the threshold into black. dramatic much? ๐Ÿ–ค
  • -blue-shift โ€” simulate a scene at nighttime in the moonlight. mood lighting, but make it digital. ๐ŸŒ™
  • -blur geometry โ€” reduce image noise and reduce detail levels. classic blur, but still iconic. ๐Ÿ’ซ
  • -border geometry โ€” surround the image with a border of color. frame it up. ๐Ÿ–ผ๏ธ
  • -brightness-contrast geometry โ€” improve brightness / contrast of the image. make it pop. โœจ
  • -canny geometry โ€” detect edges in the image. edge detection, but make it Canny. ๐Ÿ”
  • -channel mask โ€” set the image channel mask. choose your channels wisely. ๐Ÿ“ก
  • -charcoal radius โ€” simulate a charcoal drawing. artsy vibes. ๐ŸŽจ
  • -chop geometry โ€” remove pixels from the image interior. like cropping but from the inside. ๐Ÿ˜ณ
  • -clahe geometry โ€” contrast limited adaptive histogram equalization. say that three times fast. ๐Ÿ“Š
  • -clamp โ€” keep pixel values in range (0-QuantumRange). no out-of-bounds behavior. ๐Ÿšง
  • -clip โ€” clip along the first path from the 8BIM profile. if you know, you know. โœ‚๏ธ
  • -clip-mask filename โ€” associate a clip mask with the image. mask up. ๐ŸŽญ
  • -clip-path id โ€” clip along a named path from the 8BIM profile. path to the tea. ๐Ÿ›ค๏ธ
  • -colorize value โ€” colorize the image with the fill color. tint it up. ๐ŸŽจ
  • -color-matrix matrix โ€” apply color correction to the image. matrix math but for colors. ๐Ÿ”ข
  • -colors value โ€” preferred number of colors in the image. limit the palette. ๐ŸŒˆ
  • -color-threshold start_color-stop_color โ€” force all pixels in the color range to white, otherwise black. binary decisions. โšซโšช
  • -connected-component connectivity โ€” connected-components uniquely labeled. label them all. ๐Ÿท๏ธ
  • -contrast โ€” enhance or reduce the image contrast. turn it up or down. ๐ŸŽš๏ธ
  • -contrast-stretch geometry โ€” improve contrast by stretching the intensity range. stretch it out. ๐Ÿง˜
  • -convolve coefficients โ€” apply a convolution kernel to the image. math core. ๐Ÿงฎ
  • -cycle amount โ€” cycle the image colormap. spin that color wheel. ๐ŸŽก
  • -deskew threshold โ€” straighten an image. fix that tilt. ๐Ÿ“
  • -despeckle โ€” reduce the speckles within an image. bye, spots. ๐Ÿงน
  • -distort method args โ€” distort images according to given method and args. bend it like Beckham. ๐ŸŒ€
  • -draw string โ€” annotate the image with a graphic primitive. draw something. ๐Ÿ–๏ธ
  • -edge radius โ€” apply a filter to detect edges in the image. edge lord energy. ๐Ÿ”ช
  • -emboss radius โ€” emboss an image. give it that 3D texture. ๐Ÿ”๏ธ
  • -enhance โ€” apply a digital filter to enhance a noisy image. cleanup on aisle noise. ๐Ÿงผ
  • -equalize โ€” perform histogram equalization to an image. balance those levels. โš–๏ธ
  • -evaluate operator value โ€” evaluate an arithmetic, relational, or logical expression. math but make it image. โž—
  • -extent geometry โ€” set the image size. resize the canvas. ๐Ÿ“
  • -extract geometry โ€” extract area from image. cut it out. โœ‚๏ธ
  • -fft โ€” implements the discrete Fourier transform (DFT). math vibes. โœจ
  • -flip โ€” flip image vertically. upside down. ๐Ÿ™ƒ
  • -floodfill geometry color โ€” floodfill the image with color. fill it up. ๐ŸŽจ
  • -flop โ€” flop image horizontally. mirror mirror. ๐Ÿชž
  • -frame geometry โ€” surround image with an ornamental border. fancy frame. ๐Ÿ–ผ๏ธ
  • -gamma value โ€” level of gamma correction. adjust the gamma. โ˜€๏ธ
  • -gaussian-blur geometry โ€” reduce image noise and reduce detail levels. smooth like butter. ๐Ÿงˆ
  • -geometry geometry โ€” preferred size or location of the image. geometry is geometry. ๐Ÿ“
  • -grayscale method โ€” convert image to grayscale. black and white realness. ๐ŸŒ‘
  • -help โ€” print program options. when you need help. ๐Ÿ†˜
  • -hough-lines geometry โ€” identify lines in the image. line detection. ๐Ÿ“
  • -identify โ€” identify the format and characteristics of the image. get the deets. ๐Ÿ”
  • -ift โ€” implements the inverse discrete Fourier transform (DFT). reverse frequency. ๐Ÿ”„
  • -implode amount โ€” implode image pixels about the center. suck them in. ๐Ÿ•ณ๏ธ
  • -integral โ€” calculate the sum of values (pixel values) in the image. sum it up. โž•
  • -interpolative-resize geometry โ€” resize image using interpolation. smooth resize. โœจ
  • -kmeans geometry โ€” K means color reduction. cluster those colors. ๐Ÿ”ต
  • -lat geometry โ€” local adaptive thresholding. threshold but local. ๐Ÿ“
  • -layers method โ€” optimize or compare image layers. layer cake. ๐Ÿฐ
  • -level value โ€” adjust the level of image contrast. level up. ๐ŸŽฎ
  • -level-colors color,color โ€” level image with the given colors. two colors enter, one image leaves. ๐ŸŽจ
  • -linear-stretch geometry โ€” improve contrast by stretching with saturation the intensity range. stretch it with saturation. ๐Ÿงต
  • -liquid-rescale geometry โ€” rescale image with seam-carving. liquid rescale, it's giving magic. ๐Ÿ’ง
  • -magnify โ€” double the size of the image with pixel art scaling. zoom in, pixel style. ๐Ÿ”
  • -mean-shift geometry โ€” delineate arbitrarily shaped clusters in the image. shift those means. ๐Ÿ“Š
  • -median geometry โ€” apply a median filter to the image. median filter, not mean. ๐Ÿงฎ
  • -mode geometry โ€” make each pixel the 'predominant color' of the neighborhood. mode vibes. ๐ŸŽจ
  • -modulate value โ€” vary the brightness, saturation, and hue. modulate it. ๐ŸŽ›๏ธ
  • -monochrome โ€” transform image to black and white. no color, just contrast. โšซโšช
  • -motion-blur geometry โ€” simulate motion blur. whoosh. ๐Ÿ’จ
  • -negate โ€” replace each pixel with its complementary color. invert it. ๐Ÿ”„
  • -noise geometry โ€” add or reduce noise in an image. noise core. ๐Ÿ“ป
  • -normalize โ€” transform image to span the full range of colors. normalize it. ๐Ÿ“Š
  • -opaque color โ€” change this color to the fill color. make it opaque. ๐ŸŽจ
  • -ordered-dither NxN โ€” add a noise pattern to the image with specific amplitudes. ordered dither, retro vibes. ๐Ÿ“บ
  • -paint radius โ€” simulate an oil painting. paint me like one of your French girls. ๐ŸŽจ
  • -polaroid angle โ€” simulate a Polaroid picture. shake it like a Polaroid picture. ๐Ÿ“ธ
  • -posterize levels โ€” reduce the image to a limited number of color levels. posterize it. ๐Ÿ–ผ๏ธ
  • -print string โ€” interpret string and print to console. print it. ๐Ÿ–จ๏ธ
  • -profile filename โ€” add, delete, or apply an image profile. profile management. ๐Ÿ“
  • -quantize colorspace โ€” reduce colors in this colorspace. quantize it. ๐ŸŒˆ
  • -radial-blur angle โ€” radial blur the image. spin blur. ๐ŸŒ€
  • -raise value โ€” lighten/darken image edges to create a 3-D effect. raise it up. ๐Ÿ”๏ธ
  • -random-threshold low,high โ€” random threshold the image. chaos threshold. ๐ŸŽฒ
  • -range-threshold values โ€” perform either hard or soft thresholding within some range of values in an image. range threshold. ๐Ÿ“Š
  • -region geometry โ€” apply options to a portion of the image. region locked. ๐Ÿ—บ๏ธ
  • -render โ€” render vector graphics. render it. ๐ŸŽจ
  • -resample geometry โ€” change the resolution of an image. resample it. ๐Ÿ“
  • -resize geometry โ€” resize the image. classic resize. ๐Ÿ“
  • -roll geometry โ€” roll an image vertically or horizontally. roll it. ๐ŸŽฒ
  • -rotate degrees โ€” apply Paeth rotation to the image. rotate it. ๐Ÿ”„
  • -sample geometry โ€” scale image with pixel sampling. sample it. ๐Ÿ”
  • -scale geometry โ€” scale the image. scale it. โš–๏ธ
  • -segment values โ€” segment an image. segment it. ๐Ÿงฉ
  • -selective-blur geometry โ€” selectively blur pixels within a contrast threshold. selective blur. ๐ŸŽฏ
  • -sepia-tone threshold โ€” simulate a sepia-toned photo. vintage vibes. ๐Ÿ“œ
  • -set property value โ€” set an image property. set it. โš™๏ธ
  • -shade degrees โ€” shade the image using a distant light source. shade it. ๐Ÿ’ก
  • -shadow geometry โ€” simulate an image shadow. shadow it. ๐ŸŒ‘
  • -sharpen geometry โ€” sharpen the image. sharpen it. ๐Ÿ”ช
  • -shave geometry โ€” shave pixels from the image edges. shave it. โœ‚๏ธ
  • -shear geometry โ€” slide one edge of the image along the X or Y axis. shear it. ๐Ÿ“
  • -sigmoidal-contrast geometry โ€” lightness rescaling using sigmoidal contrast enhancement. sigmoidal contrast. ๐Ÿ“ˆ
  • -sketch geometry โ€” simulate a pencil sketch. sketch it. โœ๏ธ
  • -solarize threshold โ€” negate all pixels above the threshold level. solarize it. โ˜€๏ธ
  • -sort-pixels โ€” sort each scanline in ascending order of intensity. sort it. ๐Ÿ”ข
  • -sparse-color method args โ€” fill in a image based on a few color points. sparse color. ๐ŸŽจ
  • -splice geometry โ€” splice the background color into the image. splice it. ๐Ÿงฌ
  • -spread amount โ€” displace image pixels by a random amount. spread it. ๐ŸŒช๏ธ
  • -statistic type geometry โ€” replace each pixel with corresponding statistic from the neighborhood. statistic it. ๐Ÿ“Š
  • -strip โ€” strip image of all profiles and comments. strip it. ๐Ÿงน
  • -swirl degrees โ€” swirl image pixels about the center. swirl it. ๐ŸŒ€
  • -threshold value โ€” threshold the image. threshold it. โšซโšช
  • -thumbnail geometry โ€” create a thumbnail of the image. thumbnail it. ๐Ÿ–ผ๏ธ
  • -tile filename โ€” tile image when filling a graphic primitive. tile it. ๐Ÿงฑ
  • -tint value โ€” tint the image with the fill color. tint it. ๐ŸŽจ
  • -transform โ€” affine transform image. transform it. ๐Ÿ”„
  • -transparent color โ€” make this color transparent within the image. transparent it. ๐Ÿ‘ป
  • -transpose โ€” flip image vertically and rotate 90 degrees. transpose it. ๐Ÿ”„
  • -transverse โ€” flop image horizontally and rotate 270 degrees. transverse it. ๐Ÿ”„
  • -trim โ€” trim image edges. trim it. โœ‚๏ธ
  • -type type โ€” image type. type it. ๐Ÿ”ค
  • -unique-colors โ€” discard all but one of any pixel color. unique colors. ๐ŸŒˆ
  • -unsharp geometry โ€” sharpen the image. unsharp it. ๐Ÿ”ช
  • -vignette geometry โ€” soften the edges of the image in vignette style. vignette it. ๐ŸŒธ
  • -wave geometry โ€” alter an image along a sine wave. wave it. ๐ŸŒŠ
  • -wavelet-denoise threshold โ€” removes noise from the image using a wavelet transform. wavelet denoise. ๐Ÿงผ
  • -white-balance โ€” automagically adjust white balance of image. white balance it. โšช
  • -white-threshold value โ€” force all pixels above the threshold into white. white threshold. โšช

โœจ Image Channel Operators โœจ

  • -channel-fx expression โ€” exchange, extract, or transfer one or more image channels. channel effects. ๐Ÿ“ก
  • -separate โ€” separate an image channel into a grayscale image. separate it. ๐ŸŽจ

โœจ Image Sequence Operators โœจ

bestie this whole block is about sequences โ€” aka when you're holding more than one image at once and you wanna do stuff to the whole lil squad ๐Ÿซถ

  • -affinity filename โ€” transform image colors to match this set of colors
  • -append โ€” append an image sequence top to bottom (use +append for left to right)
  • -clut โ€” apply a color lookup table to the image
  • -coalesce โ€” merge a sequence of images
  • -combine โ€” combine a sequence of images
  • -compare โ€” mathematically and visually annotate the difference between an image and its reconstruction
  • -complex operator โ€” perform complex mathematics on an image sequence
  • -composite โ€” composite image
  • -copy geometry offset, โ€” copy pixels from one area of an image to another
  • -crop geometry โ€” cut out a rectangular region of the image
  • -deconstruct โ€” break down an image sequence into constituent parts
  • -evaluate-sequence operator โ€” evaluate an arithmetic, relational, or logical expression
  • -flatten โ€” flatten a sequence of images
  • -fx expression โ€” apply mathematical expression to an image channel(s)
  • -hald-clut โ€” apply a Hald color lookup table to the image
  • -morph value โ€” morph an image sequence
  • -mosaic โ€” create a mosaic from an image sequence
  • -poly terms โ€” build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
  • -process arguments โ€” process the image with a custom image filter
  • -separate โ€” separate an image channel into a grayscale image
  • -smush geometry โ€” smush an image sequence together
  • -write filename โ€” write images to this file

๐ŸŽ€ Image Stack Operators ๐ŸŽ€

and this next crew is your stack โ€” the actual lineup of images you're juggling, and how you shuffle it around ๐Ÿ’…

  • -delete indexes โ€” delete the image from the image sequence
  • -duplicate count,indexes โ€” duplicate an image one or more times
  • -insert index โ€” insert last image into the image sequence
  • -reverse โ€” reverse image sequence
  • -swap indexes โ€” swap two images in the image sequence

๐ŸŒˆ Miscellaneous Options ๐ŸŒˆ

the grab-bag, the odds and ends, the little extras that don't fit anywhere else but are lowkey iconic โœจ

  • -debug events โ€” display copious debugging information
  • -distribute-cache port โ€” distributed pixel cache spanning one or more servers
  • -help โ€” print program options
  • -log format โ€” format of debugging information
  • -list type โ€” print a list of supported option arguments
  • -version โ€” print version information

okay so here's a lil thing you need to know, and it's giving very important ๐Ÿซถ

by default, the image format of file is figured out from its magic number (yes, real term, iconic name, no notes). but if you wanna be specific and lock in a particular format, you've got two moves:

  1. put an image format name and a colon before the filename โ€” like ps:image
  2. or just name the file so the format is the suffix โ€” like image.ps

and if you want standard input or standard output? put - as the file. that's it, that's the whole trick ๐Ÿ’–


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

ImageMagick(1)


Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/ImageMagick-7/www/license.html or https://imagemagick.org/license/


and that's a wrap on mogrify(1) bestie!! ๐ŸŽ‰ this whole thing is ImageMagick, stamped with the date 2009/01/10 01:00:00, and it lives in the manual as mogrify(1). go forth and batch-process ur images, you absolute legend ๐Ÿ’…๐Ÿฆ‹โœจ