mogrify-im7.q16(1)
๐ mogrify-im7.q16(1) ๐
okay bestie, listen up โ this is the manual page for mogrify-im7.q16, from the General Commands Manual section. yes it's a lot. yes you're gonna be obsessed. let's go โจ
โจ NAME โจ
mogrify โ resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
Mogrify overwrites the original image file, whereas, convert-im7.q16(1) writes to a different image file. ๐ซถ
okay so this is the big difference and it's giving permanent-marker energy โmogrifyedits in place, no undo, no take-backs.convert-im7.q16(1)makes a whole new file like a polite little angel. iykyk ๐
โจ SYNOPSIS โจ
magick-im7.q16 mogrify [options] input-file
โจ OVERVIEW โจ
The mogrify-im7.q16 program is a member of the ImageMagick-ims7.q16(1) suite of tools. Use it to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. ๐
This tool is similar to convert-im7.q16(1) except the original image file is overwritten with any changes you request. no cap. ๐ญ
For more information about the mogrify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/mogrify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/mogrify.php. ๐ฆ
โจ DESCRIPTION โจ
๐ Image Settings:
the whole setting menu, bestie. every single one. don't skip, we don't do that here ๐
-adjoinโ join images into a single multi-image file-affinematrix โ affine transform matrix-antialiasโ remove pixel-aliasing-authenticatevalue โ decrypt image with this password-attenuatevalue โ lessen (or intensify) when adding noise to an image-backgroundcolor โ background color-biasvalue โ add bias when convolving an image-black-point-compensationโ use black point compensation-blue-primarypoint โ chromaticity blue primary point-bordercolorcolor โ border color-captionstring โ assign a caption to an image-cdlfilename โ color correct with a color decision list-colorspacetype โ alternate image colorspace-commentstring โ annotate image with comment-composeoperator โ set image composite operator-compresstype โ type of pixel compression when writing the image-decipherfilename โ convert cipher pixels to plain pixels-defineformat:option โ define one or more image format options-delaycentiseconds โ display the next image after pausing-densitygeometry โ horizontal and vertical density of the image-depthvalue โ image depth-directiontype โ render text right-to-left or left-to-right-displayserver โ get image or font from this X server-disposemethod โ layer disposal method-dithermethod โ apply error diffusion to image-encipherfilename โ convert plain pixels to cipher pixels-encodingtype โ text encoding type-endiantype โ endianness (MSB or LSB) of the image-familyname โ render text with this font family-featuresdistance โ analyze image features (e.g. contrast, correlation)-fillcolor โ color to use when filling a graphic primitive-filtertype โ use this filter when resizing an image-flattenโ flatten a sequence of images-fontname โ render text with this font-formattype โ image format type-functionname โ apply a function to the image-fuzzdistance โ colors within this distance are considered equal-gravitytype โ horizontal and vertical text placement-green-primarypoint โ chromaticity green primary point-intensitymethod โ method to generate intensity value from pixel-intenttype โ type of rendering intent when managing the image color-interlacetype โ type of image interlacing scheme-interline-spacingvalue โ set the space between two text lines-interpolatemethod โ pixel color interpolation method-interword-spacingvalue โ set the space between two words-kerningvalue โ set the space between two letters-labelstring โ assign a label to an image-limittype value โ pixel cache resource limit-loopiterations โ add Netscape loop extension to your GIF animation-matteโ store matte channel if the image has one-mattecolorcolor โ frame color-metrictype โ measure differences between images with this metric-monitorโ monitor progress-morphologymethod kernel โ apply a morphology method to the image-orienttype โ image orientation-pagegeometry โ size and location of an image canvas (setting)-pathpath โ write images to this path on disk-perceptibleepsilon โ pixel value less than|epsilon|becomeepsilonor-epsilon-pingโ efficiently determine image attributes-pointsizevalue โ font point size-precisionvalue โ maximum number of significant digits to print-previewtype โ image preview type-qualityvalue โ JPEG/MIFF/PNG compression level-quietโ suppress all warning messages-read-maskfilename โ associate a read mask with the image-red-primarypoint โ chromaticity red primary point-regard-warningsโ pay attention to warning messages-remapfilename โ transform image colors to match this set of colors-repagegeometry โ size and location of an image canvas-respect-parenthesesโ settings remain in effect until parenthesis boundary-sampling-factorgeometry โ horizontal and vertical sampling factor-scenevalue โ image scene number-seedvalue โ seed a new sequence of pseudo-random numbers-sizegeometry โ width and height of image-stretchtype โ render text with this font stretch-strokecolor โ graphic primitive stroke color-strokewidthvalue โ graphic primitive stroke width-styletype โ render text with this font style-synchronizeโ synchronize image to storage device-taintโ declare the image as modified-texturefilename โ name of texture to tile onto the image background-tile-offsetgeometry โ tile offset-treedepthvalue โ color tree depth-transparent-colorcolor โ transparent color-undercolorcolor โ annotation bounding box color-unitstype โ the units of image resolution-verboseโ print detailed information about the image-virtual-pixelmethod โ virtual pixel access method-weighttype โ render text with this font weight-white-pointpoint โ chromaticity white point-write-maskfilename โ associate a write mask with the image
and that's just the Image Settings section, bestie โ there's more coming, don't you dare close the tab ๐ธ
โจ Image Operators โจ
okay bestie, this is the big one โ the whole operator menu. every single flag is here, no skips, no cap. grab a boba and let's go. ๐ง๐
-adaptive-blurgeometry โ adaptively blurs pixels; the blur effect decreases near the edges, so it's soft but not messy. โจ-adaptive-resizegeometry โ adaptively resizes the image using data-dependent triangulation. smart resize behavior, fr fr.-adaptive-sharpengeometry โ adaptively sharpens pixels; the sharpen effect increases near the edges. edge girlies stay winning. ๐-alphaoption โ set alpha behavior to one ofon,activate,off,deactivate,set,opaque,copy,transparent,extract,background, orshape. pick your fighter. ๐-annotategeometry text โ annotate the image with text. put words on the picture, periodt. ๐ฌ-auto-gammaโ automagically adjust the gamma level of the image. it just knows. ๐ฎ-auto-levelโ automagically adjust the color levels of the image. auto-level, no cap.-auto-orientโ automatically orient the image. no more sideways pics. ๐ธ-auto-thresholdmethod โ automatically perform image thresholding. let it cook. ๐ณ-benchiterations โ measure performance over the given iterations. benchmark era. โฑ๏ธ-bilateral-blurgeometry โ a non-linear, edge-preserving, and noise-reducing smoothing filter. it's giving smooth skin while keeping the edges crisp. ๐ซง-black-thresholdvalue โ force all pixels below the threshold into black. below this value? straight to black. ๐ค-blue-shiftโ simulate a scene at nighttime in the moonlight. moonlit vibe, unlocked. ๐-blurgeometry โ reduce image noise and reduce detail levels. classic blur, still iconic. ๐-bordergeometry โ surround the image with a border of color. frame it up. ๐ผ๏ธ-brightness-contrastgeometry โ improve brightness / contrast of the image. glow-up mode. โจ-cannygeometry โ detect edges in the image with Canny. edge detection, served. ๐-channelmask โ set the image channel mask. channel control, iykyk.-charcoalradius โ simulate a charcoal drawing. artsy era. ๐จ-chopgeometry โ remove pixels from the image interior. chop chop. โ๏ธ-clahegeometry โ 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 the8BIMprofile. profile clipping, periodt.-clip-maskfilename โ associate a clip mask with the image. mask file, linked. ๐ญ-clip-pathid โ clip along a named path from the8BIMprofile. named path, clipped. ๐ค๏ธ-colorizevalue โ colorize the image with the fill color. tint it, bestie. ๐จ-color-matrixmatrix โ apply color correction to the image. matrix math but make it fashion. ๐-colorsvalue โ preferred number of colors in the image. set the palette limit. ๐-color-thresholdstart_color-stop_color โ force all pixels in the color range to white otherwise black. in-range = white, out-of-range = black. โซโช-connected-componentconnectivity โ connected-components uniquely labeled. label those blobs. ๐ซง-contrastโ enhance or reduce the image contrast. contrast check. โ-contrast-stretchgeometry โ improve contrast by `stretching' the intensity range. stretch it out. ๐ง-convolvecoefficients โ apply a convolution kernel to the image. kernel time. ๐ฟ-cycleamount โ cycle the image colormap. color cycle, go round. ๐-deskewthreshold โ straighten an image. fix that tilt. ๐-despeckleโ reduce the speckles within an image. bye speckles. ๐งน-distortmethod args โ distort images according to given method and args. bend it, warp it. ๐-drawstring โ annotate the image with a graphic primitive. draw string, do your thing. ๐๏ธ-edgeradius โ apply a filter to detect edges in the image. edge filter, activated. ๐-embossradius โ emboss an image. 3D-ish texture, hello. ๐๏ธ-enhanceโ apply a digital filter to enhance a noisy image. clean it up. ๐งผ-equalizeโ perform histogram equalization to an image. histogram said equality. ๐-evaluateoperator value โ evaluate an arithmetic, relational, or logical expression. math but make it image. ๐งฎ-extentgeometry โ set the image size. extent set. ๐-extractgeometry โ extract area from image. grab that region. โ๏ธ-fftโ implements the discrete Fourier transform (DFT). frequency domain era. ๐ก-flipโ flip image vertically. upside down, but vertical. ๐-floodfillgeometry color โ floodfill the image with color. fill it up. ๐ชฃ-flopโ flop image horizontally. horizontal flip, flop era. โ๏ธ-framegeometry โ surround image with an ornamental border. fancy frame, unlocked. ๐ผ๏ธ-gammavalue โ level of gamma correction. gamma adjust. ๐-gaussian-blurgeometry โ reduce image noise and reduce detail levels. Gaussian blur, the classic. ๐-geometrygeometry โ preferred size or location of the image. geometry says where and how big. ๐-grayscalemethod โ convert image to grayscale. grayscale method, pick one. ๐ฉถ-helpโ print program options. help me help you. ๐-hough-linesgeometry โ identify lines in the image. line detection, Hough style. ๐-identifyโ identify the format and characteristics of the image. spill the tea, image. ๐ต๏ธ-iftโ implements the inverse discrete Fourier transform (DFT). inverse DFT, back to pixels. ๐-implodeamount โ implode image pixels about the center. inward collapse, dramatic. ๐ฅ-integralโ calculate the sum of values (pixel values) in the image. sum it up. โ-interpolative-resizegeometry โ resize image using interpolation. smooth resize. ๐ซง-kmeansgeometry โ K means color reduction. K means, reduce colors. ๐จ-latgeometry โ local adaptive thresholding. LAT, local and adaptive. ๐บ๏ธ-layersmethod โ optimize or compare image layers. layer logic, engaged. ๐ง-levelvalue โ adjust the level of image contrast. level up. ๐-level-colorscolor,color โ level image with the given colors. colors as levels. ๐-linear-stretchgeometry โ improve contrast by `stretching with saturation' the intensity range. stretch with saturation, periodt. ๐ง-liquid-rescalegeometry โ rescale image with seam-carving. liquid rescale, seam-carving magic. ๐ช-magnifyโ double the size of the image with pixel art scaling. pixel art zoom. ๐-mean-shiftgeometry โ delineate arbitrarily shaped clusters in the image. cluster delineation. ๐ซง-mediangeometry โ apply a median filter to the image. median filter, smooth operator. ๐งด-modegeometry โ make each pixel the 'predominant color' of the neighborhood. mode filter, majority rules. ๐-modulatevalue โ vary the brightness, saturation, and hue. modulate the vibe. ๐๏ธ-monochromeโ transform image to black and white. monochrome moment. โซโช-motion-blurgeometry โ simulate motion blur. zoom zoom blur. ๐จ-negateโ replace each pixel with its complementary color. negative, but make it color. ๐-noisegeometry โ add or reduce noise in an image. noise control. ๐ป-normalizeโ transform image to span the full range of colors. normalize the range. ๐-opaquecolor โ change this color to the fill color. opaque swap. ๐จ-ordered-ditherNxN โ add a noise pattern to the image with specific amplitudes. ordered dither,NxNstyle. ๐ฒ-paintradius โ simulate an oil painting. oil paint filter, art era. ๐ผ๏ธ-polaroidangle โ simulate a Polaroid picture. Polaroid angle, vintage vibes. ๐ธ-posterizelevels โ reduce the image to a limited number of color levels. posterize, limited palette. ๐๏ธ-printstring โ interpret string and print to console. print string, console says hi. ๐จ๏ธ-profilefilename โ add, delete, or apply an image profile. profile management, periodt. ๐-quantizecolorspace โ reduce colors in this colorspace. quantize in colorspace. ๐จ-radial-blurangle โ radial blur the image. radial blur, spinny. ๐-raisevalue โ lighten/darken image edges to create a 3-D effect. raised 3D edge. ๐ง-random-thresholdlow,high โ random threshold the image. random threshold, chaos but controlled. ๐ฒ-range-thresholdvalues โ perform either hard or soft thresholding within some range of values in an image. hard or soft, in range. ๐๏ธ-regiongeometry โ apply options to a portion of the image. region-specific options. ๐-renderโ render vector graphics. vector render, slay. ๐๏ธ-resamplegeometry โ change the resolution of an image. resample resolution. ๐-resizegeometry โ resize the image. resize era. ๐-rollgeometry โ roll an image vertically or horizontally. roll it. ๐ณ-rotatedegrees โ apply Paeth rotation to the image. Paeth rotation, degrees. ๐-samplegeometry โ scale image with pixel sampling. sample scale. ๐-scalegeometry โ scale the image. scale it. โ๏ธ-segmentvalues โ segment an image. segmentation. ๐งฉ-selective-blurgeometry โ selectively blur pixels within a contrast threshold. selective blur, contrast-aware. ๐ซง-sepia-tonethreshold โ simulate a sepia-toned photo. sepia tone, vintage. ๐-setproperty value โ set an image property. set property, value. ๐ท๏ธ-shadedegrees โ shade the image using a distant light source. distant light shading. ๐ก-shadowgeometry โ simulate an image shadow. shadow sim. ๐-sharpengeometry โ sharpen the image. sharpen, crisp. ๐ช-shavegeometry โ shave pixels from the image edges. shave those edges. ๐ช-sheargeometry โ slide one edge of the image along the X or Y axis. shear along X or Y. ๐-sigmoidal-contrastgeometry โ lightness rescaling using sigmoidal contrast enhancement. sigmoidal contrast, fancy. ๐-sketchgeometry โ simulate a pencil sketch. pencil sketch filter. โ๏ธ-solarizethreshold โ negate all pixels above the threshold level. solarize above threshold. โ๏ธ-sort-pixelsโ sort each scanline in ascending order of intensity. sort pixels, ascending. ๐ข-sparse-colormethod args โ fill in a image based on a few color points. sparse color fill. ๐จ-splicegeometry โ splice the background color into the image. splice background color. ๐งฌ-spreadamount โ displace image pixels by a random amount. random spread. ๐ฒ-statistictype geometry โ replace each pixel with corresponding statistic from the neighborhood. statistic neighborhood. ๐-stripโ strip image of all profiles and comments. strip it all. ๐ซฅ-swirldegrees โ swirl image pixels about the center. swirl around center. ๐-thresholdvalue โ threshold the image. threshold. ๐ฆ-thumbnailgeometry โ create a thumbnail of the image. thumbnail time. ๐ผ๏ธ-tilefilename โ tile image when filling a graphic primitive. tile fill. ๐งฑ-tintvalue โ tint the image with the fill color. tint with fill color. ๐จ-transformโ affine transform image. affine transform. ๐-transparentcolor โ make this color transparent within the image. transparent color. ๐ซฅ-transposeโ flip image vertically and rotate 90 degrees. transpose, flip + rotate. ๐-transverseโ flop image horizontally and rotate 270 degrees. transverse, flop + rotate. ๐-trimโ trim image edges. trim the edges. โ๏ธ-typetype โ image type. set the type. ๐ท๏ธ-unique-colorsโ discard all but one of any pixel color. unique colors only. ๐-unsharpgeometry โ sharpen the image. unsharp sharpen. ๐ช-vignettegeometry โ soften the edges of the image in vignette style. vignette soft edges. ๐ซ๏ธ-wavegeometry โ alter an image along a sine wave. wave sine. ๐-wavelet-denoisethreshold โ removes noise from the image using a wavelet transform. wavelet denoise. ๐งผ-white-balanceโ automagically adjust white balance of image. auto white balance. โช-white-thresholdvalue โ force all pixels above the threshold into white. above this value? straight to white. โช
โจ Image Channel Operators โจ
-channel-fxexpression โ exchange, extract, or transfer one or more image channels. channel fx, do your thing. ๐-separateโ separate an image channel into a grayscale image. separate channel, grayscale result. ๐ฉถ
๐ Image Sequence Operators ๐
okay bestie, this batch is for when you're not working with one pic but a whole sequence of them. group-project energy, fr fr. ๐ซถ
-affinityfilename โ transform image colors to match this set of colors. it's a full vibe-match makeover โจ-appendโ append an image sequence top to bottom (use+appendfor left to right). yes the plus sign changes the whole direction, iykyk ๐-clutโ apply a color lookup table to the image. glow-up via lookup table ๐-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. detective mode, no cap ๐-complexoperator โ perform complex mathematics on an image sequence. math girlies rise ๐งฎ-compositeโ composite image.-copygeometry offset, โ copy pixels from one area of an image to another.-cropgeometry โ cut out a rectangular region of the image. scissors behavior โ๏ธ-deconstructโ break down an image sequence into constituent parts.-evaluate-sequenceoperator โ evaluate an arithmetic, relational, or logical expression.-flattenโ flatten a sequence of images.-fxexpression โ apply mathematical expression to an image channel(s).-hald-clutโ apply a Hald color lookup table to the image.-morphvalue โ morph an image sequence. it's giving transformation sequence ๐-mosaicโ create a mosaic from an image sequence.-polyterms โ build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs). yes bestie, actual coefficients AND degree pairs ๐-processarguments โ process the image with a custom image filter.-separateโ separate an image channel into a grayscale image.-smushgeometry โ smush an image sequence together. "smush" is the technical term, I don't make the rules ๐ฆ-writefilename โ write images to this file.
๐ง Image Stack Operators ๐ง
these ones are all about arranging the stack โ deleting, duplicating, shuffling. it's the group chat admin toolkit fr.
-deleteindexes โ delete the image from the image sequence.-duplicatecount,indexes โ duplicate an image one or more times.-insertindex โ insert last image into the image sequence.-reverseโ reverse image sequence.-swapindexes โ swap two images in the image sequence.
๐ธ Miscellaneous Options ๐ธ
the lil extras. not the main character of the page but absolutely essential, lowkey ๐
-debugevents โ display copious debugging information. "copious" is doing a LOT of heavy lifting here, and it's accurate ๐-distribute-cacheport โ distributed pixel cache spanning one or more servers.-helpโ print program options.-logformat โ format of debugging information.-listtype โ print a list of supported option arguments.-versionโ print version information.
okay and here's the format tea, because it matters:
By default, the image format of file is determined by its magic number. To specify a particular image format, 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). Specify file as - for standard input or output.
so like, - means stdin/stdout. the little dash is the main character. periodt ๐
๐ SEE ALSO ๐
๐ COPYRIGHT ๐
Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php
and that's the whole page bestie, we made it ๐ซถ this iconic little manual is brought to you by ImageMagick, dated 2009/01/10 01:00:00, and the page itself is mogrify-im7.q16(1) โ go forth and mogrify responsibly โจ
๐ฆ where this page comes from
- ubuntu resolute: imagemagick-7.q16 8:7.1.2.18+dfsg1-1 ยท ImageMagick
- ubuntu stonking: imagemagick-7.q16 8:7.1.2.31+dfsg1-1 ยท ImageMagick
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms