mogrify-im6.q16(1)
๐ mogrify-im6.q16 โ bestie edition โจ
okay so this is the manual page for mogrify-im6.q16(1), which lives in the General Commands Manual section. welcome, you're gonna have a great time here ๐ซถ
๐ธ 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-im6.q16(1) writes to a different image file.
bestie. hear me. it overwrites. the original. file. that's the whole personality of this tool ๐
โจ SYNOPSIS โจ
mogrify-im6.q16 [options] input-file
๐ฆ OVERVIEW ๐ฆ
The mogrify-im6.q16 program is a member of the ImageMagick-ims6.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-im6.q16(1) โ except the original image file is overwritten with any changes you request.
For more information about the mogrify command, point your browser to file:///usr/share/doc/imagemagick-6-common/html/www/mogrify.html (on debian system you may install the imagemagick-6 package) or https://www.imagemagick.org/script/mogrify.php.
๐ DESCRIPTION ๐
Image Settings ๐
-adjoinโ join images into a single multi-image file-affinematrix โ affine transform matrix-alphaoption โ activate, deactivate, reset, or set the alpha channel-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-channeltype โ apply option to select image channels-colorsvalue โ preferred number of colors in the image-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 (MSBorLSB) 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-maskfilename โ associate a mask with the image-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-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-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-viewโ FlashPix viewing transforms-virtual-pixelmethod โ virtual pixel access method-weighttype โ render text with this font weight-white-pointpoint โ chromaticity white point
okay that's the image settings block, and there's more coming โ don't go anywhere bestie, part 2 is right behind this ๐
๐ Image Operators ๐
-adaptive-blurgeometry โ adaptively blur pixels; decrease effect near edges ๐-adaptive-resizegeometry โ adaptively resize image with data dependent triangulation. Lowkey smart. ๐ง-adaptive-sharpengeometry โ adaptively sharpen pixels; increase effect near edges. Edges are the main character. ๐-alphaoption โon,activate,off,deactivate,set,opaque,copy,transparent,extract,background, orshape. Pick your fighter. ๐-annotategeometry text โ annotate the image with text. Put words on it, bestie. โ๏ธ-auto-gammaโ automagically adjust gamma level of image. Magic, fr. โจ-auto-levelโ automagically adjust color levels of image. Another auto glow-up. ๐-auto-orientโ automatically orient image. It fixes itself, iconic. ๐ฆ-benchiterations โ measure performance. Time to see how fast it runs. โฑ๏ธ-black-thresholdvalue โ force all pixels below the threshold into black. Below the line? Black. Periodt. ๐ค-blue-shiftโ simulate a scene at nighttime in the moonlight. Blue hour vibes. ๐-blurgeometry โ reduce image noise and reduce detail levels. Soft blur, less detail. ๐ซ-bordergeometry โ surround image with a border of color. Frame it. ๐ผ๏ธ-bordercolorcolor โ border color. Pick the color, bestie. ๐จ-brightness-contrastgeometry โ improve brightness / contrast of the image. Glow-up for your lighting. โ๏ธ-cdlfilename โ color correct with a color decision list. Fancy color grading. ๐ฌ-cannygeometry โ detect edges in the image. Edge detection, main character energy. ๐-charcoalradius โ simulate a charcoal drawing. Art hoe mode. ๐จ-chopgeometry โ remove pixels from the image interior. Chop chop, interior only. โ๏ธ-clampโ keep pixel values in range (0-QuantumRange). No out-of-bounds nonsense. ๐ซ-clipโ clip along the first path from the 8BIM profile. Profile path, slay. ๐-clip-maskfilename โ associate a clip mask with the image. Mask it up. ๐ญ-clip-pathid โ clip along a named path from the 8BIM profile. Named path, iconic. ๐ค๏ธ-colorizevalue โ colorize the image with the fill color. Tint it, bestie. ๐จ-color-matrixmatrix โ apply color correction to the image. Matrix math but for color. ๐งฎ-connected-componentconnectivity โ connected-components uniquely labeled. Label those components. ๐ท๏ธ-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. Spin the colors. ๐ก-decipherfilename โ convert cipher pixels to plain pixels. Decode the pixels. ๐-deskewthreshold โ straighten an image. Fix that crooked vibe. ๐-despeckleโ reduce the speckles within an image. Bye speckles. ๐งน-distortmethod args โ distort images according to given method and args. Warp it, bestie. ๐-drawstring โ annotate the image with a graphic primitive. Draw something. โ๏ธ-edgeradius โ apply a filter to detect edges in the image. Edges only. ๐ช-encipherfilename โ convert plain pixels to cipher pixels. Secret pixel business. ๐-embossradius โ emboss an image. Make it pop out. ๐๏ธ-enhanceโ apply a digital filter to enhance a noisy image. Clean it up. โจ-equalizeโ perform histogram equalization to an image. Equalize the histogram, periodt. ๐-evaluateoperator value โ evaluate an arithmetic, relational, or logical expression. Math but make it pixels. ๐งฎ-extentgeometry โ set the image size. Set the size, bestie. ๐-extractgeometry โ extract area from image. Cut out a piece. โ๏ธ-featuresdistance โ analyze image features (e.g. contrast, correlation). Feature analysis, iykyk. ๐ฌ-fftโ implements the discrete Fourier transform (DFT). Fourier transform, math girlies rise. ๐-flipโ flip image vertically. Vertical flip, slay. ๐-floodfillgeometry color โ floodfill the image with color. Fill it up. ๐ชฃ-flopโ flop image horizontally. Horizontal flop, not a bad thing. ๐-framegeometry โ surround image with an ornamental border. Fancy frame. ๐ผ๏ธ-functionname parameters โ apply function over image values. Function time. ๐-gammavalue โ level of gamma correction. Gamma glow. โ๏ธ-gaussian-blurgeometry โ reduce image noise and reduce detail levels. Gaussian blur, soft and dreamy. โ๏ธ-geometrygeometry โ preferred size or location of the image. Set the geometry. ๐-grayscalemethod โ convert image to grayscale. Sad beige? No, iconic gray. ๐ฉถ-iftโ implements the inverse discrete Fourier transform (DFT). Inverse Fourier, we love a comeback. ๐-helpโ print program options. Help me help you. ๐-hough-linesgeometry โ identify lines in the image. Line detection, main character. ๐-identifyโ identify the format and characteristics of the image. Spill the tea on the image. โ-iftโ implements the inverse discrete Fourier transform (DFT). Yes, again. It's that iconic. ๐-implodeamount โ implode image pixels about the center. Suck them inward. ๐ณ๏ธ-latgeometry โ local adaptive thresholding. Local threshold, bestie. ๐-layersmethod โ optimize or compare image layers. Layer management, slay. ๐ง-levelvalue โ adjust the level of image contrast. Level it out. โ๏ธ-level-colorscolor,color โ level image with the given colors. Two colors, one level. ๐จ-linear-stretchgeometry โ improve contrast by `stretching with saturation' the intensity range. Stretch with saturation. ๐ช-liquid-rescalegeometry โ rescale image with seam-carving. Liquid rescale, seam-carving realness. ๐-magnifyโ double the size of the image with pixel art scaling. Pixel art glow-up. ๐พ-mean-shiftgeometry โ delineate arbitrarily shaped clusters in the image. Cluster it. ๐ซง-mediangeometry โ apply a median filter to the image. Median filter, smooth. ๐งด-modegeometry โ make each pixel the 'predominant color' of the neighborhood. Predominant color, periodt. ๐-modulatevalue โ vary the brightness, saturation, and hue. Modulate the vibe. ๐-monochromeโ transform image to black and white. Black and white, classic. ๐ค๐ค-morphologymethod kernel โ apply a morphology method to the image. Morphology math, bestie. ๐งฌ-motion-blurgeometry โ simulate motion blur. Zoom zoom blur. ๐๏ธ-negateโ replace each pixel with its complementary color. Negate it. ๐-noisegeometry โ add or reduce noise in an image. Noise control. ๐ป-normalizeโ transform image to span the full range of colors. Normalize, full range. ๐-opaquecolor โ change this color to the fill color. Opaque color swap. ๐จ-ordered-ditherNxN โ add a noise pattern to the image with specific amplitudes. Ordered dither, pixel pattern. ๐ณ-paintradius โ simulate an oil painting. Oil painting vibes. ๐จ-perceptibleepsilon โ pixel value less than|epsilon|become epsilon or-epsilon. Perceptible epsilon, tiny but important. ๐-polaroidangle โ simulate a Polaroid picture. Polaroid pic, vintage. ๐ธ-posterizelevels โ reduce the image to a limited number of color levels. Posterize, limited palette. ๐จ-printstring โ interpret string and print to console. Print it out. ๐จ๏ธ-profilefilename โ add, delete, or apply an image profile. Profile management. ๐-quantizecolorspace โ reduce colors in this colorspace. Quantize the colors. ๐-radial-blurangle โ radial blur the image. Radial blur, spinny. ๐-raisevalue โ lighten/darken image edges to create a 3-D effect. 3-D effect, pop off. ๐ซง-random-thresholdlow,high โ random threshold the image. Random threshold, chaotic. ๐ฒ-regiongeometry โ apply options to a portion of the image. Region-specific, bestie. ๐-renderโ render vector graphics. Render it. ๐๏ธ-resamplegeometry โ change the resolution of an image. Resample the resolution. ๐-resizegeometry โ resize the image. Resize, obviously. ๐-rollgeometry โ roll an image vertically or horizontally. Roll it. ๐ณ-rotatedegrees โ apply Paeth rotation to the image. Paeth rotation, rotate it. ๐-samplegeometry โ scale image with pixel sampling. Sample scale. ๐ผ๏ธ-scalegeometry โ scale the image. Scale it up or down. ๐-segmentvalues โ segment an image. Segment it. โ๏ธ-selective-blurgeometry โ selectively blur pixels within a contrast threshold. Selective blur, picky. ๐-sepia-tonethreshold โ simulate a sepia-toned photo. Sepia vintage, iconic. ๐-setproperty value โ set an image property. Set the property. ๐ง-shadedegrees โ shade the image using a distant light source. Shade it with distant light. ๐ก-shadowgeometry โ simulate an image shadow. Shadow effect. ๐-sharpengeometry โ sharpen the image. Sharpen, crisp. ๐ช-shavegeometry โ shave pixels from the image edges. Shave the edges. ๐ช-sheargeometry โ slide one edge of the image along the X or Y axis. Shear it along X or Y. ๐-sigmoidal-contrastgeometry โ lightness rescaling using sigmoidal contrast enhancement. Sigmoidal contrast, math girlie. ๐-sketchgeometry โ simulate a pencil sketch. Pencil sketch vibes. โ๏ธ-solarizethreshold โ negate all pixels above the threshold level. Solarize, negate above threshold. โ๏ธ-sparse-colormethod args โ fill in a image based on a few color points. Sparse color, few points. ๐จ-splicegeometry โ splice the background color into the image. Splice it in. ๐งฌ-spreadamount โ displace image pixels by a random amount. Spread pixels randomly. ๐ช๏ธ-statistictype geometry โ replace each pixel with corresponding statistic from the neighborhood. Statistic swap. ๐-stripโ strip image of all profiles and comments. Strip it down. ๐ซฃ-swirldegrees โ swirl image pixels about the center. Swirl it. ๐-thresholdvalue โ threshold the image. Threshold, bestie. ๐ฆ-thumbnailgeometry โ create a thumbnail of the image. Thumbnail time. ๐ผ๏ธ-tilefilename โ tile image when filling a graphic primitive. Tile it. ๐งฑ-tintvalue โ tint the image with the fill color. Tint it. ๐จ-transformโ affine transform image. Affine transform. ๐-transparentcolor โ make this color transparent within the image. Transparency, slay. ๐ป-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 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, iconic. ๐ช-vignettegeometry โ soften the edges of the image in vignette style. Vignette, soft edges. ๐ธ-wavegeometry โ alter an image along a sine wave. Wave it. ๐-wavelet-denoisethreshold โ removes noise from the image using a wavelet transform. Wavelet denoise, bye noise. ๐-white-thresholdvalue โ force all pixels above the threshold into white. Above threshold? White. ๐ค
โจ Image Sequence Operators โจ
-affinityfilename โ transform image colors to match this set of colors. Match the colors, bestie. ๐จ-appendโ append an image sequence top to botto (use+appendfor left to right). Yes, top to botto. ๐-clutโ apply a color lookup table to the image. CLUT it. ๐จ-coalesceโ merge a sequence of images. Coalesce the sequence. ๐งฉ-combineโ combine a sequence of images. Combine them. ๐งฌ-compareโ mathematically and visually annotate the difference between an image and its reconstruction. Compare and contrast. ๐-complexoperator โ perform complex mathematics on an image sequence. Complex math, periodt. ๐งฎ-compositeโ composite image. Composite it. ๐ผ๏ธ-copygeometry offset, โ copy pixels from one area of an image to another. Copy-paste pixels. ๐-cropgeometry โ cut out a rectangular region of the image. Crop it. โ๏ธ-deconstructโ break down an image sequence into constituent parts. Deconstruct it. ๐งฉ-evaluate-sequenceoperator โ evaluate an arithmetic, relational, or logical expression. Evaluate the sequence. ๐งฎ-flattenโ flatten a sequence of images. Flatten it. ๐ฅ-fxexpression โ apply mathematical expression to an image channel(s). FX math, bestie. โจ-hald-clutโ apply a Hald color lookup table to the image. Hald CLUT, fancy. ๐จ-morphvalue โ morph an image sequence. Morph it. ๐ฆ-mosaicโ create a mosaic from an image sequence. Mosaic time. ๐งฑ-polyterms โ build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs). Polynomial, math girlie. ๐-processarguments โ process the image with a custom image filter. Custom filter process. ๐ง-separateโ separate an image channel into a grayscale image. Separate it. ๐ฉถ-smushgeometry โ smush an image sequence together. Smush it together. ๐ซ-writefilename โ write images to this file. Write it. โ๏ธ
โจ Image Stack Operators โจ
-deleteindexes โ delete the image from the image sequence. yeet! ๐๏ธ-duplicatecount,indexes โ duplicate an image one or more times. so extra. ๐ฏ-insertindex โ insert last image into the image sequence. sliding in. ๐-reverseโ reverse image sequence. periodt. ๐-swapindexes โ swap two images in the image sequence. switching places. ๐
โจ Miscellaneous Options โจ
-debugevents โ display copious debugging information. so much info, bestie. ๐-distribute-cacheport โ distributed pixel cache spanning one or more servers. it's giving network vibes. ๐-helpโ print program options. you're welcome. ๐โโ๏ธ-logformat โ format of debugging information. set the vibe of your logs. ๐-listtype โ print a list of supported option arguments. all the tea. โ-versionโ print version information. slay. ๐
okay so by default, the image format of file is determined by its magic number, iykyk. 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.
๐ SEE ALSO ๐
ImageMagick-im6.q16(1) โ check it out, bestie. ๐
๐ COPYRIGHT ๐
okay so legal stuff, don't skip:
Copyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-6-common/html/www/license.html (on debian system you may install the imagemagick-6 package) or https://www.imagemagick.org/script/license.php
this page is from ImageMagick, dated 2009/01/10 01:00:00, for mogrify-im6.q16(1). bye bestie! ๐โจ
๐ฆ where this page comes from
- ubuntu noble: imagemagick-6.q16 8:6.9.12.98+dfsg1-5.2build2 ยท ImageMagick
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms