mogrify-im6.q16hdri(1)
๐ mogrify-im6.q16hdri(1) โ the glow-up your image files have been waiting for ๐
okay so bestie. you found the manual page for mogrify-im6.q16hdri(1). yes that name is a whole mouthful, no we are not changing it, it's iconic actually. buckle up ๐
๐ธ 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.q16hdri(1) writes to a different image file.
fr fr that's the whole personality of this tool: it edits in place. no copy, no backup, no "oops let me undo". the original file is the canvas. ๐
โจ SYNOPSIS โจ
mogrify-im6.q16hdri [options] input-file
๐ฆ OVERVIEW ๐ฆ
The mogrify-im6.q16hdri program is a member of the ImageMagick-im6.q16hdri(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.q16hdri(1) except the original image file is overwritten with any changes you request.
so like. imagine convert but it has main character energy and zero impulse control. you asked for a resize, it gave you a resize, and the old file? gone. replaced. evolved. ๐ฆ
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 (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-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
and that's literally just the image settings section bestie, we are NOT done, there is so much more coming ๐ซถ keep scrolling, the rest is on its way โจ
โจ Image Operators โจ
okay so these are the operators that work on a single image, bestie. They're the main character moves for transforming your pics. Let's go. ๐
-adaptive-blur geometryโ adaptively blurs pixels; the effect gets weaker near the edges. It's like a soft glow that knows where to chill. โจ-adaptive-resize geometryโ adaptively resizes the image with data dependent triangulation. Fancy, right? ๐ฆ-adaptive-sharpen geometryโ adaptively sharpens pixels; the effect increases near the edges. So edges get extra crispy. ๐ฅ-alpha optionโ theoptioncan beon,activate,off,deactivate,set,opaque,copy,transparent,extract,background, orshape. Alpha channel vibes. ๐ซ-annotate geometry textโ annotates the image with text. Put some words on it, periodt. โ๏ธ-auto-gammaโ automagically adjusts the gamma level of the image. It just knows. โจ-auto-levelโ automagically adjusts the color levels of the image. Balance restored. ๐ง-auto-orientโ automatically orients the image. No more sideways pics. ๐-bench iterationsโ measures performance with the given number of iterations. Speed test but make it image. โฑ๏ธ-black-threshold valueโ forces all pixels below the threshold into black. If you're under the limit, you're out. ๐-blue-shiftโ simulates a scene at nighttime in the moonlight. Moody blue vibes. ๐-blur geometryโ reduces image noise and reduces detail levels. Soften it up, bestie. ๐ธ-border geometryโ surrounds the image with a border of color. Frame it. ๐ผ๏ธ-bordercolor colorโ sets the border color. Pick your shade. ๐-brightness-contrast geometryโ improves brightness / contrast of the image. Glow up. โจ-cdl filenameโ color corrects with a color decision list from the file. Pro-level color grading. ๐ฌ-canny geometryโ detects edges in the image. Canny edge detection, iconic. ๐-charcoal radiusโ simulates a charcoal drawing. Artsy filter, no cap. ๐จ-chop geometryโ removes pixels from the image interior. Chop chop. โ๏ธ-clampโ keeps pixel values in range (0-QuantumRange). Stay in your lane. ๐ง-clipโ clips along the first path from the 8BIM profile. Clipping path magic. ๐ช-clip-mask filenameโ associates a clip mask with the image. Mask on. ๐ท-clip-path idโ clips along a named path from the 8BIM profile. Path vibes. ๐ค๏ธ-colorize valueโ colorizes the image with the fill color. Tint it. ๐-color-matrix matrixโ applies color correction to the image using the matrix. Math but make it fashion. ๐งฎ-connected-component connectivityโ connected-components uniquely labeled. Find the clusters. ๐-contrastโ enhances or reduces the image contrast. Make it pop or make it soft. ๐๏ธ-contrast-stretch geometryโ improves contrast by `stretching' the intensity range. Stretch it out. ๐คธ-convolve coefficientsโ applies a convolution kernel to the image. Kernel panic? No, kernel magic. ๐ช-cycle amountโ cycles the image colormap. Rotate those colors. ๐-decipher filenameโ converts cipher pixels to plain pixels. Decode the mystery. ๐-deskew thresholdโ straightens an image. Tilted no more. ๐-despeckleโ reduces the speckles within an image. Clean it up. ๐งผ-distort method argsโ distorts images according to given method and args. Warp zone. ๐-draw stringโ annotates the image with a graphic primitive. Draw something. ๐๏ธ-edge radiusโ applies a filter to detect edges in the image. Edge lord energy. ๐ช-encipher filenameโ converts plain pixels to cipher pixels. Secret message. ๐คซ-emboss radiusโ embosses an image. 3D-ish texture. ๐๏ธ-enhanceโ applies a digital filter to enhance a noisy image. Glow up for grainy pics. โจ-equalizeโ performs histogram equalization to an image. Balance the tones. โ๏ธ-evaluate operator valueโ evaluates an arithmetic, relational, or logical expression. Math class but make it image. ๐งฎ-extent geometryโ sets the image size. Resize the canvas. ๐-extract geometryโ extracts area from image. Cut it out. โ๏ธ-features distanceโ analyzes image features (e.g. contrast, correlation). Feature detective. ๐-fftโ implements the discrete Fourier transform (DFT). Frequency domain, bestie. ๐-flipโ flips image vertically. Upside down. ๐-floodfill geometry colorโ floodfills the image with color. Paint bucket energy. ๐ชฃ-flopโ flops image horizontally. Mirror, mirror. ๐ช-frame geometryโ surrounds image with an ornamental border. Fancy frame. ๐ผ๏ธ-function name parametersโ applies function over image values. Function time. ๐-gamma valueโ sets the level of gamma correction. Gamma glow. โจ-gaussian-blur geometryโ reduces image noise and reduces detail levels. Smooth like butter. ๐ง-geometry geometryโ sets the preferred size or location of the image. Geometry class. ๐-grayscale methodโ converts image to grayscale. Black and white, but make it method. ๐ค-iftโ implements the inverse discrete Fourier transform (DFT). Back from frequency. ๐-helpโ prints program options. Help me help you. ๐-hough-lines geometryโ identifies lines in the image. Line detection, slay. ๐-identifyโ identifies the format and characteristics of the image. Get to know your pic. ๐ต๏ธ-iftโ implements the inverse discrete Fourier transform (DFT). Yes, it's listed again, bestie. It's that iconic. ๐-implode amountโ implodes image pixels about the center. Suck it in. ๐-lat geometryโ local adaptive thresholding. Threshold but local. ๐๏ธ-layers methodโ optimizes or compares image layers. Layer cake. ๐ฐ-level valueโ adjusts the level of image contrast. Level up. ๐๏ธ-level-colors color,colorโ levels image with the given colors. Two colors enter, one image leaves. ๐-linear-stretch geometryโ improves contrast by `stretching with saturation' the intensity range. Stretch with saturation. ๐คธ-liquid-rescale geometryโ rescales image with seam-carving. Liquid rescale, so cool. ๐ง-magnifyโ doubles the size of the image with pixel art scaling. Bigger and pixelated. ๐-mean-shift geometryโ delineates arbitrarily shaped clusters in the image. Cluster vibes. ๐ซง-median geometryโ applies a median filter to the image. Median filter, no cap. ๐-mode geometryโ makes each pixel the 'predominant color' of the neighborhood. Mode mode. ๐จ-modulate valueโ varies the brightness, saturation, and hue. Modulate it. ๐-monochromeโ transforms image to black and white. Monochrome moment. ๐ค-morphology method kernelโ applies a morphology method to the image. Shape-shift. ๐งฌ-motion-blur geometryโ simulates motion blur. Zoom zoom. ๐จ-negateโ replaces each pixel with its complementary color. Invert the vibe. ๐-noise geometryโ adds or reduces noise in an image. Noise control. ๐ป-normalizeโ transforms image to span the full range of colors. Normalize it. ๐-opaque colorโ changes this color to the fill color. Opaque swap. ๐จ-ordered-dither NxNโ adds a noise pattern to the image with specific amplitudes. Dither me this. ๐ซ๏ธ-paint radiusโ simulates an oil painting. Paint by numbers, but cooler. ๐จ-perceptible epsilonโ pixel values less than|epsilon|becomeepsilonor-epsilon. Perceptible difference. ๐-polaroid angleโ simulates a Polaroid picture. Instant photo vibes. ๐ธ-posterize levelsโ reduces the image to a limited number of color levels. Posterize it. ๐จ-print stringโ interprets string and prints to console. Print it out. ๐จ๏ธ-profile filenameโ adds, deletes, or applies an image profile. Profile management. ๐ค-quantize colorspaceโ reduces colors in this colorspace. Quantize it. ๐-radial-blur angleโ radial blurs the image. Spin blur. ๐-raise valueโ lightens/darkens image edges to create a 3-D effect. Pop out. ๐-random-threshold low,highโ random thresholds the image. Randomness rules. ๐ฒ-region geometryโ applies options to a portion of the image. Region locked. ๐-renderโ renders vector graphics. Vector vibes. โ๏ธ-resample geometryโ changes the resolution of an image. Resample it. ๐-resize geometryโ resizes the image. Resize, obviously. ๐-roll geometryโ rolls an image vertically or horizontally. Roll it. ๐ฒ-rotate degreesโ applies Paeth rotation to the image. Rotate it. ๐-sample geometryโ scales image with pixel sampling. Sample scale. ๐ฌ-scale geometryโ scales the image. Scale it. ๐-segment valuesโ segments an image. Segment it. ๐งฉ-selective-blur geometryโ selectively blurs pixels within a contrast threshold. Selective blur, fancy. ๐ฏ-sepia-tone thresholdโ simulates a sepia-toned photo. Old-timey vibes. ๐-set property valueโ sets an image property. Set it. โ๏ธ-shade degreesโ shades the image using a distant light source. Shade it. ๐ก-shadow geometryโ simulates an image shadow. Drop shadow. ๐-sharpen geometryโ sharpens the image. Crispy. ๐ช-shave geometryโ shaves pixels from the image edges. Shave it. ๐ช-shear geometryโ slides one edge of the image along the X or Y axis. Shear it. ๐-sigmoidal-contrast geometryโ lightness rescaling using sigmoidal contrast enhancement. Sigmoid curve, slay. ๐-sketch geometryโ simulates a pencil sketch. Sketchy vibes. โ๏ธ-solarize thresholdโ negates all pixels above the threshold level. Solarize it. โ๏ธ-sparse-color method argsโ fills in a image based on a few color points. Sparse color, fill it in. ๐จ-splice geometryโ splices the background color into the image. Splice it. ๐งฌ-spread amountโ displaces image pixels by a random amount. Spread it. ๐ซ๏ธ-statistic type geometryโ replaces each pixel with corresponding statistic from the neighborhood. Stats class. ๐-stripโ strips image of all profiles and comments. Strip it down. ๐งผ-swirl degreesโ swirls image pixels about the center. Swirl it. ๐-threshold valueโ thresholds the image. Threshold it. ๐ฆ-thumbnail geometryโ creates a thumbnail of the image. Thumbnail time. ๐ผ๏ธ-tile filenameโ tiles image when filling a graphic primitive. Tile it. ๐งฑ-tint valueโ tints the image with the fill color. Tint it. ๐-transformโ affine transforms image. Transform it. ๐-transparent colorโ makes this color transparent within the image. See-through. ๐ป-transposeโ flips image vertically and rotates 90 degrees. Transpose it. ๐-transverseโ flops image horizontally and rotates 270 degrees. Transverse it. ๐-trimโ trims image edges. Trim it. โ๏ธ-type typeโ sets the image type. Type it. ๐ค-unique-colorsโ discards all but one of any pixel color. Unique colors only. ๐-unsharp geometryโ sharpens the image. Unsharp mask, sharp result. ๐ช-vignette geometryโ softens the edges of the image in vignette style. Vignette vibes. ๐ธ-wave geometryโ alters an image along a sine wave. Wave it. ๐-wavelet-denoise thresholdโ removes noise from the image using a wavelet transform. Denoise it. ๐งผ-white-threshold valueโ forces all pixels above the threshold into white. White out. โช
โจ Image Sequence Operators โจ
okay now we're doing sequences, bestie. These operators work on multiple images at once. It's giving group project energy. ๐
-affinity filenameโ transforms image colors to match this set of colors. Color matching. ๐จ-appendโ appends an image sequence top to botto (use+appendfor left to right). Stack 'em. ๐-clutโ applies a color lookup table to the image. CLUT it. ๐-coalesceโ merges a sequence of images. Coalesce it. ๐งฉ-combineโ combines a sequence of images. Combine it. ๐งฌ-compareโ mathematically and visually annotates the difference between an image and its reconstruction. Compare and contrast. ๐-complex operatorโ performs complex mathematics on an image sequence. Complex math, no cap. ๐งฎ-compositeโ composites image. Composite it. ๐ผ๏ธ-copy geometry offset,โ copies pixels from one area of an image to another. Copy-paste. ๐-crop geometryโ cuts out a rectangular region of the image. Crop it. โ๏ธ-deconstructโ breaks down an image sequence into constituent parts. Deconstruct it. ๐งฉ-evaluate-sequence operatorโ evaluates an arithmetic, relational, or logical expression. Sequence evaluation. ๐-flattenโ flattens a sequence of images. Flatten it. ๐๏ธ-fx expressionโ applies mathematical expression to an image channel(s). FX magic. โจ-hald-clutโ applies a Hald color lookup table to the image. Hald CLUT. ๐-morph valueโ morphs an image sequence. Morph it. ๐ฆ-mosaicโ creates a mosaic from an image sequence. Mosaic it. ๐งฑ-poly termsโ builds a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs). Polynomial time. ๐-process argumentsโ processes the image with a custom image filter. Process it. โ๏ธ-separateโ separates an image channel into a grayscale image. Separate it. ๐จ-smush geometryโ smushes an image sequence together. Smush it. ๐ซ-write filenameโ writes images to this file. Write it. ๐พ
๐ Image Stack Operators ๐
okay bestie these ones are literally about shuffling your pics around inside the sequence like a little deck of cards ๐
-delete indexesโ yeet that image right out of the image sequence. gone. not invited to the group chat anymore ๐ซถ-duplicate count,indexesโ make one or more copies of an image, like when you send the same selfie to three different people ๐ญ-insert indexโ slide the last image into the image sequence at the spot you want โจ-reverseโ flip the whole image sequence backwards, it's giving "watch it in reverse" energy ๐-swap indexesโ trade two images' positions in the sequence, no questions asked ๐ธ
๐ Miscellaneous Options ๐
the little extras, the side quests, the iykyk section ๐
-debug eventsโ spill the tea, show copious debugging information ๐-distribute-cache portโ set up a distributed pixel cache that spans one or more servers, lowkey iconic for big workloads ๐ฆ-helpโ print the program options, the classic "wait what do I do" button ๐-log formatโ choose the format of your debugging information ๐-list typeโ print out a whole list of supported option arguments, very "let me check the menu" of it โญ-versionโ print version information, main character stats reveal ๐
๐ฎ the format thing ๐ฎ
By default, the image format of file is determined by its magic number. (not me calling it a magic number, that's literally what it's called, it's real, no cap โจ)
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.
๐ tiny but mighty detail: that lone - is how you pipe stuff in or out, and yes it slays.
๐ SEE ALSO ๐
go read that one too bestie, it's the sibling page ๐ซถ
๐ COPYRIGHT ๐
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
and that's the whole page, bestie!! ๐ this one came from ImageMagick, dated 2009/01/10 01:00:00, and it lives under the name mogrify-im6.q16hdri(1) โ go forth and mogrify responsibly, mwah ๐โจ
๐ฆ where this page comes from
- ubuntu noble: imagemagick-6.q16hdri 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