convert-im7.q16hdri(1)
๐ convert-im7.q16hdri โ the manual, but make it make sense
okay bestie, you're looking at convert-im7.q16hdri, and yeah, the manual name is a whole mouthful (it's giving "why is there a q16hdri in here" ๐) but don't let that scare you. this is the page for the convert command, straight out of the ImageMagick-ims7.q16hdri(1) suite. let's get into it ๐ซถ
โจ 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.
like. it does EVERYTHING. it's the main character of image tooling, no cap. ๐
๐ธ SYNOPSIS
magick-im7.q16hdri convert [input-options] input-file [output-options] output-file
that's the shape of it: you got your input-options, then your input-file, then your output-options, then your output-file. order matters, bestie, it's not a vibe suggestion. ๐
๐ฆ OVERVIEW
so convert-im7.q16hdri is a member of the ImageMagick-ims7.q16hdri(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. (yes, the NAME section said that too. they're committed. we respect the commitment. ๐
)
want more lore about the convert command? point your browser at:
file:///usr/share/doc/imagemagick-7-common/html/www/convert.html
(and on a debian system you may install the imagemagick-7 package to get that good stuff) โ or hit up https://www.imagemagick.org/script/convert.php if the internet is your thing. ๐
๐ DESCRIPTION
okay so here's the big one. this whole section is the settings โ the stuff you set up before/around the actual work. there are a LOT of them. grab a snack. ๐
โจ Image Settings โจ
-adjoinโ join images into a single multi-image file. one file, many pics, they're a unit now ๐ซถ-affinematrix โ affine transform matrix.-alphaoption โ activate, deactivate, reset, or set the alpha channel.-antialiasโ remove pixel-aliasing. smooth those jagged little edges out, slay โจ-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.-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.-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. ๐-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. ๐ค-read-maskfilename โ associate a read mask with the image.-red-primarypoint โ chromaticity red primary point. โค๏ธ-regard-warningsโ pay attention to warning messages. (the opposite of-quiet, basically. eyes OPEN. ๐)-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. ๐ฃ๏ธ-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 the settings lineup, bestie โ every single one of them, exactly as written, no edits, no skips. there's more of this page coming, so hold that thought ๐
โจ Image Operators โจ
-adaptive-blur geometryโ adaptively blur pixels; the effect gets weaker near the edges ๐ฆ-adaptive-resize geometryโ adaptively resize the image with data-dependent triangulation โจ-adaptive-sharpen geometryโ adaptively sharpen pixels; the effect gets stronger near the edges ๐-annotate geometry textโ annotate the image with text ๐-auto-gammaโ automagically adjust the gamma level of the image ๐-auto-levelโ automagically adjust the color levels of the image โจ-auto-orientโ automatically orient the image ๐ง-auto-threshold methodโ automatically perform image thresholding using the given method โญ-bench iterationsโ measure performance over the given number of iterations ๐ฅ-bilateral-blur geometryโ a non-linear, edge-preserving, and noise-reducing smoothing filter ๐ซถ-black-threshold valueโ force all pixels below the threshold into black ๐-blue-shift factorโ simulate a scene at nighttime in the moonlight โจ-blur geometryโ reduce image noise and reduce detail levels ๐-border geometryโ surround the image with a border of color ๐-brightness-contrast geometryโ improve brightness / contrast of the image โจ-canny geometryโ detect edges in the image ๐ฅ-channel maskโ set the image channel mask ๐ซถ-charcoal radiusโ simulate a charcoal drawing with the given radius ๐-chop geometryโ remove pixels from the image interior ๐-clahe geometryโ contrast limited adaptive histogram equalization โจ-clampโ keep pixel values in range(0-QuantumRange)๐-clipโ clip along the first path from the8BIMprofile ๐-clip-mask filenameโ associate a clip mask with the image using the given filename ๐ฆ-clip-path idโ clip along a named path from the8BIMprofile, using the given id โจ-colorize valueโ colorize the image with the fill color ๐-color-matrix matrixโ apply color correction to the image using the given matrix ๐-colors valueโ set the preferred number of colors in the image ๐-color-threshold start_color-stop_colorโ force all pixels in the color range to white, otherwise black ๐-connected-component connectivityโ connected-components uniquely labeled with the given connectivity ๐ซถ-contrastโ enhance or reduce the image contrast โจ-contrast-stretch geometryโ improve contrast bystretchingthe intensity range ๐-convolve coefficientsโ apply a convolution kernel to the image ๐-cycle amountโ cycle the image colormap by the given amount ๐ฆ-deskew thresholdโ straighten an image using the given threshold โจ-despeckleโ reduce the speckles within an image ๐ซถ-distort method argsโ distort images according to the given method and args ๐-draw stringโ annotate the image with a graphic primitive given as a string ๐-edge radiusโ apply a filter to detect edges in the image ๐ฆ-emboss radiusโ emboss an image with the given radius โจ-enhanceโ apply a digital filter to enhance a noisy image ๐ฅ-equalizeโ perform histogram equalization to an image ๐-evaluate operator valueโ evaluate an arithmetic, relational, or logical expression using the given operator and value ๐-extent geometryโ set the image size ๐ซถ-extract geometryโ extract area from image โจ-fftโ implements the discrete Fourier transform (DFT) ๐-flipโ flip image vertically ๐-floodfill geometry colorโ floodfill the image with color ๐-flopโ flop image horizontally ๐ฆ-frame geometryโ surround image with an ornamental border โจ-function nameโ apply a function to the image, using the given name ๐-gamma valueโ set the level of gamma correction ๐ซถ-gaussian-blur geometryโ reduce image noise and reduce detail levels ๐-geometry geometryโ set the preferred size or location of the image ๐-grayscale methodโ convert image to grayscale using the given method โจ-hough-lines geometryโ identify lines in the image ๐-identifyโ identify the format and characteristics of the image ๐-iftโ implements the inverse discrete Fourier transform (DFT) ๐-implode amountโ implode image pixels about the center ๐ซถ-integralโ calculate the sum of values (pixel values) in the image โจ-interpolative-resize geometryโ resize image using interpolation ๐-kmeans geometryโ K means color reduction ๐-lat geometryโ local adaptive thresholding ๐ฆ-layers methodโ optimize or compare image layers using the given method ๐-level valueโ adjust the level of image contrast ๐-level-colors color,colorโ level image with the given colors ๐ซถ-linear-stretch geometryโ improve contrast bystretching with saturationthe intensity range ๐-liquid-rescale geometryโ rescale image with seam-carving โจ-mean-shift geometryโ delineate arbitrarily shaped clusters in the image ๐-median geometryโ apply a median filter to the image ๐ฆ-mode geometryโ make each pixel the 'predominant color' of the neighborhood ๐-modulate valueโ vary the brightness, saturation, and hue ๐-monochromeโ transform image to black and white ๐-morphology method kernelโ apply a morphology method to the image with the given method and kernel ๐ซถ-motion-blur geometryโ simulate motion blur โจ-negateโ replace each pixel with its complementary color ๐-noise geometryโ add or reduce noise in an image ๐ฆ-normalizeโ transform image to span the full range of colors ๐-opaque colorโ change this color to the fill color ๐-ordered-dither NxNโ add a noise pattern to the image with specific amplitudes ๐ซถ-paint radiusโ simulate an oil painting ๐-perceptible epsilonโ pixel value less than|epsilon|becomeepsilonor-epsilonโจ-polaroid angleโ simulate a Polaroid picture ๐-posterize levelsโ reduce the image to a limited number of color levels ๐ฆ-print stringโ interpret string and print to console ๐-profile filenameโ add, delete, or apply an image profile ๐-quantize colorspaceโ reduce colors in this colorspace ๐ซถ-radial-blur angleโ radial blur the image ๐-raise valueโ lighten/darken image edges to create a 3-D effect โจ-random-threshold low,highโ random threshold the image ๐-range-threshold valuesโ perform either hard or soft thresholding within some range of values in an image ๐ฆ-region geometryโ apply options to a portion of the image ๐-renderโ render vector graphics ๐-resample geometryโ change the resolution of an image ๐ซถ-resize geometryโ resize the image ๐-roll geometryโ roll an image vertically or horizontally โจ-rotate degreesโ apply Paeth rotation to the image ๐-sample geometryโ scale image with pixel sampling ๐ฆ-scale geometryโ scale the image ๐-segment valuesโ segment an image ๐-selective-blur geometryโ selectively blur pixels within a contrast threshold ๐ซถ-sepia-tone thresholdโ simulate a sepia-toned photo ๐-set property valueโ set an image property โจ-shade degreesโ shade the image using a distant light source ๐-shadow geometryโ simulate an image shadow ๐ฆ-sharpen geometryโ sharpen the image ๐-shave geometryโ shave pixels from the image edges ๐-shear geometryโ slide one edge of the image along the X or Y axis ๐ซถ-sigmoidal-contrast geometryโ lightness rescaling using sigmoidal contrast enhancement ๐-sketch geometryโ simulate a pencil sketch โจ-solarize thresholdโ negate all pixels above the threshold level ๐-sort-pixelsโ sort each scanline in ascending order of intensity ๐ฆ-sparse-color method argsโ fill in a image based on a few color points ๐-splice geometryโ splice the background color into the image ๐-spread amountโ displace image pixels by a random amount ๐ซถ-stripโ strip image of all profiles and comments ๐-swirl degreesโ swirl image pixels about the center โจ-threshold valueโ threshold the image ๐-thumbnail geometryโ create a thumbnail of the image ๐ฆ-tile filenameโ tile image when filling a graphic primitive ๐-tint valueโ tint the image with the fill color ๐-transformโ affine transform image ๐ซถ-transparent colorโ make this color transparent within the image ๐-transposeโ flip image vertically and rotate 90 degrees โจ-transverseโ flop image horizontally and rotate 270 degrees ๐-trimโ trim image edges ๐ฆ-type typeโ image type ๐-unique-colorsโ discard all but one of any pixel color ๐-unsharp geometryโ sharpen the image ๐ซถ-vignette geometryโ soften the edges of the image in vignette style ๐-wave geometryโ alter an image along a sine wave โจ-wavelet-denoise thresholdโ removes noise from the image using a wavelet transform ๐-white-balanceโ automagically adjust white balance of image ๐ฆ-white-threshold valueโ force all pixels above the threshold into white ๐
โจ Image Channel Operators โจ
-channel-fx expressionโ exchange, extract, or transfer one or more image channels ๐-separateโ separate an image channel into a grayscale image ๐ซถ
๐ Image Sequence Operators ๐
okay bestie, these ones are all about sequences, like when you've got a whole lil squad of images and you wanna do stuff to them together. iconic behavior fr.
-appendโ glues an image sequence together top to bottom. and if you want left to right instead? use+append, periodt ๐-clutโ applies a color lookup table to the image, slay-coalesceโ merges a sequence of images together-combineโ combines a sequence of images-compareโ mathematically and visually annotates the difference between an image and its reconstruction. it's giving detective energy ๐-complexoperator โ does complex mathematics on an image sequence-compositeโ composites an image-copygeometry offset, โ copies pixels from one area of an image to another-cropgeometry โ cuts out a rectangular region of the image โ๏ธ-deconstructโ breaks down an image sequence into its constituent parts-evaluate-sequenceoperator โ evaluates an arithmetic, relational, or logical expression-flattenโ flattens a sequence of images-fxexpression โ applies a mathematical expression to an image channel(s)-hald-clutโ applies a Hald color lookup table to the image-morphvalue โ morphs an image sequence ๐ฆ-mosaicโ creates a mosaic from an image sequence-polyterms โ builds a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)-processarguments โ processes the image with a custom image filter-smushgeometry โ smushes an image sequence together (yes that's the real name, no I'm not kidding)-writefilename โ writes images to this file
๐ธ Image Stack Operators ๐ธ
these are the ones that mess with your stack โ cloning, deleting, reordering. main character energy for your image list ๐
-cloneindexes โ clones an image-deleteindexes โ deletes the image from the image sequence-duplicatecount,indexes โ duplicates an image one or more times-insertindex โ inserts the last image into the image sequence-reverseโ reverses the image sequence ๐-swapindexes โ swaps two images in the image sequence
โจ Miscellaneous Options โจ
the lil grab-bag of extras, we love her
-debugevents โ displays copious debugging information ๐-distribute-cacheport โ distributed pixel cache spanning one or more servers-helpโ prints program options-logformat โ format of debugging information-listtype โ prints a list of supported option arguments-versionโ prints version information
okay so here's a thing you need to know bestie: you can use any setting or operator as an output-option. but only a limited number of settings are input-option. those special ones are: -antialias, -caption, -density, -define, -encoding, -font, -pointsize, -size, and -texture โ plus any of the miscellaneous options. so yeah, not all of them get to be input-options, only those cuties ๐
and by default, the image format of file is determined by its magic number ๐ฎ. wanna force a specific format? then either put an image format name and a colon in front of the filename (like ps:image) or just use the image type as the filename suffix (like image.ps). and if you want standard input or output, specify file as -. easy as that ๐
๐ 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 a wrap, bestie!! ๐ซถ this whole page is from ImageMagick, version/date stampedDate: 2009/01/10 01:00:00, and it's the manual forconvert-im7.q16hdri(1). go forth and convert, you absolute icon ๐โจ
๐ฆ where this page comes from
- ubuntu resolute: imagemagick-7.q16hdri 8:7.1.2.18+dfsg1-1 ยท ImageMagick
- ubuntu stonking: imagemagick-7.q16hdri 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