convert-im6.q16(1)
hiii bestie ๐ you're reading the convert-im6.q16(1) page from the General Commands Manual โ and ngl, this one is a whole main character. It's the ImageMagick glow-up tool that does so much. Let's get into it, no cap. โจ
โจ NAME โจ
convert โ convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. ๐ฆ
๐ธ SYNOPSIS ๐ธ
convert-im6.q16 [input-option] input-file [output-option] output-file
๐ซ OVERVIEW ๐ซ
The convert-im6.q16 program is a member of the ImageMagick-ims6.q16(1) suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. ๐
For more information about the convert command, point your browser to file:///usr/share/doc/imagemagick-6-common/html/www/convert.html (on debian system you may install the imagemagick-6 package) or https://www.imagemagick.org/script/convert.php. โจ
๐ DESCRIPTION ๐
okay so this part is literally the settings menu. It's giving control freak in the best way. ๐ซถ
๐ 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 ๐-clipโ clip along the first path from the 8BIM profile โจ-clip-maskfilename โ associate a clip mask with the image ๐ซถ-clip-pathid โ clip along a named path from the 8BIM profile โจ-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 ๐-format"string"โ output formatted image characteristics ๐-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 ๐-momentsโ report image moments ๐-monitorโ monitor progress โจ-orienttype โ image orientation ๐ซถ-pagegeometry โ size and location of an image canvas (setting) โจ-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 ๐-statistictype geometry โ replace each pixel with corresponding statistic from the neighborhood โจ-stretchtype โ render text with this font stretch ๐ซถ-strokecolor โ graphic primitive stroke color โจ-strokewidthvalue โ graphic primitive stroke width ๐-styletype โ render text with this font style ๐ฆ-supportfactor โ resize support: > 1.0 is blurry, < 1.0 is sharp ๐-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 โจ
๐ Image Operators ๐
Okay bestie, this is the big one โ every image operator in the lineup. Itโs giving spellbook but make it pixels. โจ
-adaptive-blur geometryโ blur pixels but adaptively, so the effect gets softer near the edges. Itโs giving blur with boundaries. ๐ฆ-adaptive-resize geometryโ resize with data-dependent triangulation. Fancy adaptive resizing, no cap. ๐-adaptive-sharpen geometryโ sharpen pixels adaptively, cranking the effect up near edges. Edge girlies stay sharp. ๐ฅ-annotate geometry textโ write text on your image. Annotation era. โ๏ธ-auto-gammaโ automagically adjusts the gamma level. Not manually, bestie โ automagically. โจ-auto-levelโ automagically adjusts color levels. Same energy, different levels. ๐-auto-orientโ automatically orients the image. It just knows. ๐ง-bench iterationsโ measures performance. Benchmarking, but make it cute. โฑ๏ธ-black-threshold valueโ forces every pixel below the threshold into black. Below the line? Black. Periodt. ๐ค-blue-shift factorโ simulates a scene at nighttime in the moonlight. Moonlight vibes only. ๐-blur geometryโ reduces image noise and detail levels. Soft focus, no thoughts. โ๏ธ-border geometryโ surrounds your image with a border of color. Frame it, bestie. ๐-brightness-contrast geometryโ improves brightness and/or contrast. Glow-up for your pixels. ๐ก-canny geometryโ detects edges in the image. Canny said edge detection. ๐-charcoal radiusโ simulates a charcoal drawing. Art hoe mode activated. ๐ค-chop geometryโ removes pixels from the image interior. Interior design, but make it deletion. โ๏ธ-clampโ keeps pixel values in range(0-QuantumRange). No overflow drama. ๐-clipโ clips along the first path from the 8BIM profile. Path girlie. ๐ค๏ธ-clip-mask filenameโ associates a clip mask with the image. Mask on, bestie. ๐ญ-clip-path idโ clips along a named path from the 8BIM profile. Named path? We love specificity. ๐-colorize valueโ colorizes the image with the fill color. Tint it, slay it. ๐จ-color-matrix matrixโ applies color correction to the image. Matrix math but make it fashion. ๐งฎ-connected-component connectivityโ finds connected components, uniquely labeled. Connected, not confused. ๐-contrastโ enhances or reduces the image contrast. Contrast is a personality trait. โก-contrast-stretch geometryโ improves contrast bystretchingthe intensity range. Stretch, bestie. ๐ง-convolve coefficientsโ applies a convolution kernel to the image. Kernel panic? No, kernel glam. ๐ฝ-cycle amountโ cycles the image colormap. Colormap go round and round. ๐-deskew thresholdโ straightens an image. Posture check for pixels. ๐-despeckleโ reduces the speckles within an image. Speckles? Not today. ๐งน-distort method argsโ distorts images according to the given method and args. Chaos, but specified. ๐ช๏ธ-draw stringโ annotates the image with a graphic primitive. Draw something, bestie. ๐๏ธ-edge radiusโ applies a filter to detect edges in the image. Edge detection, but make it filter. ๐-emboss radiusโ embosses an image. Raised edges, fancy. ๐๏ธ-enhanceโ applies a digital filter to enhance a noisy image. Noise cancellation for the girlies. ๐ง-equalizeโ performs histogram equalization on an image. Equalize the histogram, equalize the vibe. ๐-evaluate operator valueโ evaluates an arithmetic, relational, or logical expression. Math class but make it image. โ-extent geometryโ sets the image size. Size matters, but here itโs literal. ๐-extract geometryโ extracts an area from the image. Extraction, but cute. ๐งฒ-fftโ implements the discrete Fourier transform (DFT). Fourier said hey. ๐-flipโ flips the image vertically. Upside down, but on purpose. ๐-floodfill geometry colorโ floodfills the image with color. Fill it up, bestie. ๐-flopโ flops the image horizontally. Horizontal flip, not a bad dance move. ๐-frame geometryโ surrounds the image with an ornamental border. Ornamental, not optional. ๐ผ๏ธ-function nameโ applies a function to the image. Function call, but visual. ๐-gamma valueโ sets the level of gamma correction. Gamma rays but make it color. โข๏ธ-gaussian-blur geometryโ reduces image noise and detail levels. Gaussian blur, soft launch. ๐ซ๏ธ-geometry geometryโ preferred size or location of the image. Geometry class but useful. ๐-grayscale methodโ converts image to grayscale. Gray area? More like grayscale area. ๐ฉถ-hough-lines geometryโ identifies lines in the image. Line detection, no cap. ๐-identifyโ identifies the format and characteristics of the image. ID check, but for pixels. ๐ชช-iftโ implements the inverse discrete Fourier transform (DFT). Inverse Fourier, the sequel. ๐-implode amountโ implodes image pixels about the center. Implosion, but artistic. ๐ฅ-interpolative-resize geometryโ resizes image using 'point sampled' interpolation. Point sampled, point taken. ๐-lat geometryโ local adaptive thresholding. LAT girlies rise. ๐-layers methodโ optimizes or compares image layers. Layer cake, but technical. ๐ฐ-level valueโ adjusts the level of image contrast. Level up the contrast. ๐๏ธ-level-colors color,colorโ levels the image with the given colors. Two colors, one level. ๐จ-linear-stretch geometryโ improves contrast bystretching with saturationthe intensity range. Stretch with saturation, periodt. ๐-liquid-rescale geometryโ rescales image with seam-carving. Liquid rescale, glowy. ๐ง-magnifyโ doubles the size of the image with pixel art scaling. Pixel art magnify, iconic. ๐-mean-shift geometryโ delineates arbitrarily shaped clusters in the image. Clusters? Delineated. ๐ซง-median geometryโ applies a median filter to the image. Median filter, middle child energy. โ๏ธ-mode geometryโ makes each pixel the 'predominant color' of the neighborhood. Predominant color, main character. ๐-modulate valueโ varies the brightness, saturation, and hue. Modulate the vibe. ๐๏ธ-monochromeโ transforms image to black and white. Black and white, no gray area. โซโช-morphology method kernelโ applies a morphology method to the image. Morphology, but make it method and kernel. ๐งฌ-motion-blur geometryโ simulates motion blur. Moving fast, blurry. ๐โโ๏ธ๐จ-negateโ replaces each pixel with its complementary color. Negate, invert, serve. ๐-noise geometryโ adds or reduces noise in an image. Noise? Added or reduced, your call. ๐ข-normalizeโ transforms image to span the full range of colors. Full range, no skips. ๐-opaque colorโ changes this color to the fill color. Opaque? Not anymore. ๐จ-ordered-dither NxNโ adds a noise pattern to the image with specific amplitudes. Ordered dither, chaotic cute. ๐ฒ-paint radiusโ simulates an oil painting. Oil painting, but digital. ๐จ-perceptible epsilonโ pixel value less than|epsilon|becomeepsilonor-epsilon. Perceptible, epsilon, math bestie. ๐ฌ-polaroid angleโ simulates a Polaroid picture. Polaroid, but angled. ๐ธ-posterize levelsโ reduces the image to a limited number of color levels. Posterize, limited palette, unlimited slay. ๐จ-print stringโ interprets string and prints to console. Print it, bestie. ๐จ๏ธ-profile filenameโ adds, deletes, or applies an image profile. Profile pic, but for images. ๐ค-quantize colorspaceโ reduces colors in this colorspace. Quantize, donโt minimize the vibe. ๐จ-radial-blur angleโ radial blurs the image. Radial blur, spinning. ๐-raise valueโ lightens/darkens image edges to create a 3-D effect. 3-D effect, raised. ๐ง-random-threshold low,highโ random thresholds the image. Random threshold, random slay. ๐ฒ-region geometryโ applies options to a portion of the image. Region girlies, this oneโs for you. ๐บ๏ธ-renderโ renders vector graphics. Render it, periodt. ๐ฌ-resample geometryโ changes the resolution of an image. Resample, resolution refresh. ๐-resize geometryโ resizes the image. Resize, but make it geometry. ๐-roll geometryโ rolls an image vertically or horizontally. Roll it, bestie. ๐ณ-rotate degreesโ applies Paeth rotation to the image. Paeth rotation, rotate with a name. ๐-sample geometryโ scales image with pixel sampling. Pixel sampling, sample sale. ๐๏ธ-scale geometryโ scales the image. Scale it up, scale it down. โ๏ธ-segment valuesโ segments an image. Segmentation, but cute. โ๏ธ-selective-blur geometryโ selectively blurs pixels within a contrast threshold. Selective blur, selective slay. ๐ฏ-sepia-tone thresholdโ simulates a sepia-toned photo. Sepia tone, vintage vibe. ๐-set property valueโ sets an image property. Set it, bestie. โ๏ธ-shade degreesโ shades the image using a distant light source. Distant light, dramatic shade. ๐ก-shadow geometryโ simulates an image shadow. Shadow work, but visual. ๐-sharpen geometryโ sharpens the image. Sharp, like your wit. ๐ช-shave geometryโ shaves pixels from the image edges. Shave the edges, not the vibe. ๐ช-shear geometryโ slides one edge of the image along the X or Y axis. Shear, slide, serve. ๐-sigmoidal-contrast geometryโ lightness rescaling using sigmoidal contrast enhancement. Sigmoidal contrast, fancy math. ๐-sketch geometryโ simulates a pencil sketch. Pencil sketch, but make it digital. โ๏ธ-solarize thresholdโ negates all pixels above the threshold level. Solarize, above the threshold. โ๏ธ-sparse-color method argsโ fills in an image based on a few color points. Sparse color, few points, big impact. ๐จ-splice geometryโ splices the background color into the image. Splice it in. ๐งฌ-spread amountโ displaces image pixels by a random amount. Spread pixels, spread love. ๐ซถ-stripโ strips image of all profiles and comments. Strip it down, no comments. ๐งผ-swirl degreesโ swirls image pixels about the center. Swirl, twirl, slay. ๐ญ-threshold valueโ thresholds the image. Threshold, but make it value. ๐ช-thumbnail geometryโ creates a thumbnail of the image. Thumbnail, tiny but mighty. ๐ผ๏ธ-tile filenameโ tiles image when filling a graphic primitive. Tile it, bestie. ๐งฑ-tint valueโ tints the image with the fill color. Tint, not too much. ๐จ-transformโ affine transforms image. Affine transform, fancy. ๐งฌ-transparent colorโ makes this color transparent within the image. Transparent, see-through slay. ๐ป-transposeโ flips image vertically and rotates 90 degrees. Transpose, flip and rotate. ๐-transverseโ flops image horizontally and rotates 270 degrees. Transverse, flop and rotate. ๐-trimโ trims image edges. Trim the edges, keep the content. โ๏ธ-type typeโ image type. Type check, but visual. ๐-unique-colorsโ discards all but one of any pixel color. Unique colors only, duplicates not invited. ๐-unsharp geometryโ sharpens the image. Unsharp sharpen, make it make sense. ๐ช-vignette geometryโ softens the edges of the image in vignette style. Vignette, soft edges, mood. ๐ซ๏ธ-wave geometryโ alters an image along a sine wave. Sine wave, but make it image. ๐-wavelet-denoise thresholdโ removes noise from the image using a wavelet transform. Wavelet denoise, bye noise. ๐-white-threshold valueโ forces all pixels above the threshold into white. Above the threshold? White. Periodt. ๐ค
๐ Image Sequence Operators ๐
Sequence operators, bestie โ this is where images start moving as a group. Group chat energy, but visual. ๐ซถ
-appendโ appends an image sequence top to bottom (use+appendfor left to right). Top to bottom, unless you want left to right. ๐ซ-clutโ applies a color lookup table to the image. CLUT, color lookup, cute. ๐จ-coalesceโ merges a sequence of images. Coalesce, merge, unite. ๐ค-combineโ combines a sequence of images. Combine, but make it sequence. ๐-compareโ mathematically and visually annotates the difference between an image and its reconstruction. Compare and contrast, literally. ๐ง-complex operatorโ performs complex mathematics on an image sequence. Complex math, complex slay. ๐งฎ-compositeโ composites image. Composite, layer it up. ๐ง-copy geometry offset,โ copies pixels from one area of an image to another. Copy-paste, but for pixels. ๐-crop geometryโ cuts out a rectangular region of the image. Crop it, bestie. โ๏ธ-deconstructโ breaks down an image sequence into constituent parts. Deconstruct, break it down. ๐งฉ-evaluate-sequence operatorโ evaluates an arithmetic, relational, or logical expression. Sequence evaluation, math but sequenced. โ-flattenโ flattens a sequence of images. Flatten, no layers left. ๐ซ-fx expressionโ applies a mathematical expression to an image channel(s). FX, but math. ๐๏ธ-hald-clutโ applies a Hald color lookup table to the image. Hald CLUT, specific and slay. ๐จ-morph valueโ morphs an image sequence. Morph, transform, serve. ๐ฆ-mosaicโ creates a mosaic from an image sequence. Mosaic, tile it up. ๐งฑ-poly termsโ builds a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs). Polynomial, terms, coefficients, degree pairs โ math bestie. ๐-process argumentsโ processes the image with a custom image filter. Custom filter, custom vibe. ๐๏ธ-separateโ separates an image channel into a grayscale image. Separate, grayscale. ๐ซ๏ธ-smush geometryโ smushes an image sequence together. Smush, squish, together. ๐ซ-write filenameโ writes images to this file. Write it to a file, bestie. ๐พ
๐ง Image Stack Operators ๐ง
Stack operators, the final boss of this part โ this is how you clone, delete, duplicate, insert, reverse and swap images in the sequence. Organized chaos, but make it iconic. ๐
-clone indexesโ clones an image. Clone, but make it image. ๐ฏ-delete indexesโ deletes the image from the image sequence. Delete, remove, bye. ๐๏ธ-duplicate count,indexesโ duplicates an image one or more times. Duplicate, copy, repeat. ๐-insert indexโ inserts last image into the image sequence. Insert, place, done. ๐ฅ-reverseโ reverses image sequence. Reverse, backwards, serve. ๐-swap indexesโ swaps two images in the image sequence. Swap, trade, switch. ๐
๐ Miscellaneous Options ๐
-debug eventsโ spills the copious amounts of debugging tea, like literally so much info, bestie, prepare yourself ๐-distribute-cache portโ a distributed pixel cache that stretches across one or more servers โจ-helpโ prints the program options, i.e. the menu of what this thing can do ๐-log formatโ sets the format of that debugging information-list typeโ prints out a list of the supported option arguments, a whole lil catalogue fr fr-versionโ prints the version information, the origin story ๐ฆ
Okay so here's a thing that's lowkey iconic: you can use any setting or operator as an output-option. But only a limited number of settings work as an input-option. The ones that do are:
-antialias-caption-density-define-encoding-font-pointsize-size-texture
โฆplus any of the miscellaneous options ๐
Now, the detective work: by default, the image format of file gets figured out from its magic number โจ (yes it's literally called that, slay). Wanna pick a specific format yourself? Two ways, bestie:
- Put an image format name and a colon in front of the filename โ like
ps:image - Or just make the image type the filename suffix โ like
image.ps
And if you want standard input or standard output? Hand it '-' as the file ๐ธ
๐ SEE ALSO ๐
๐ 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 a wrap on the whole page, bestie!! ๐ซถ this lil manual is from ImageMagick, version-dated 2009/01/10 01:00:00, and it lives as convert-im6.q16(1). go forth and convert some images, you absolute main character ๐๐
๐ฆ 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