convert-im7.q16(1)
๐ convert-im7.q16(1) โ part 1, bestie ๐
okay so welcome to the convert-im7.q16(1) manual page, part 1. this is the convert command from the ImageMagick suite, and she does a lot. grab a boba, because we are going through every single flag. no skips. ๐
โจ 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. it's giving multitool main character energy ๐ฆ
๐ SYNOPSIS ๐
magick-im7.q16 convert [input-options] input-file [output-options] output-file
๐ฆ OVERVIEW ๐ฆ
The convert-im7.q16 program is a member of the ImageMagick-ims7.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-7-common/html/www/convert.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/convert.php.
๐ DESCRIPTION ๐
okay so here's where it gets long, and we love that for us. the Image Settings: section is next, and every option is staying. no cuts. periodt. ๐
๐ Image Settings: ๐
-adjoinโ join images into a single multi-image file. one file, multi-image energy.-affine matrixโ affine transform matrix. give it the matrix.-alpha optionโ activate, deactivate, reset, or set the alpha channel. alpha decisions are real decisions.-antialiasโ remove pixel-aliasing. bye jagged edges.-authenticate valueโ decrypt image with this password. keep it secret, keep it safe.-attenuate valueโ lessen (or intensify) when adding noise to an image. turn the noise down or up.-background colorโ background color. the backdrop of the whole vibe.-bias valueโ add bias when convolving an image. convolution bias moment.-black-point-compensationโ use black point compensation. bpc, but make it cute.-blue-primary pointโ chromaticity blue primary point. blue primary coordinates.-bordercolor colorโ border color. frame it up.-caption stringโ assign a caption to an image. caption time.-cdl filenameโ color correct with a color decision list. CDL file says what it says.-clipโ clip along the first path from the 8BIM profile. first path from the 8BIM profile.-clip-mask filenameโ associate a clip mask with the image. clip mask file.-clip-path idโ clip along a named path from the 8BIM profile. named path from the 8BIM profile.-colorspace typeโ alternate image colorspace. change the color space.-comment stringโ annotate image with comment. add a comment.-compose operatorโ set image composite operator. compose operator, set.-compress typeโ type of pixel compression when writing the image. compression type on write.-decipher filenameโ convert cipher pixels to plain pixels. decrypt those pixels.-define format:optionโ define one or more image format options. format-specific define.-delay centisecondsโ display the next image after pausing. delay in centiseconds.-density geometryโ horizontal and vertical density of the image. x/y density.-depth valueโ image depth. bit depth.-direction typeโ render text right-to-left or left-to-right. text direction.-display serverโ get image or font from this X server. X display.-dispose methodโ layer disposal method. disposal method.-dither methodโ apply error diffusion to image. dither method.-encipher filenameโ convert plain pixels to cipher pixels. encrypt those pixels.-encoding typeโ text encoding type. encoding.-endian typeโ endianness (MSB or LSB) of the image. endian.-family nameโ render text with this font family. font family.-features distanceโ analyze image features (e.g. contrast, correlation). feature analysis.-fill colorโ color to use when filling a graphic primitive. fill color.-filter typeโ use this filter when resizing an image. resize filter.-flattenโ flatten a sequence of images. flatten the sequence.-font nameโ render text with this font. font.-format "string"โ output formatted image characteristics. formatted output.-fuzz distanceโ colors within this distance are considered equal. fuzz distance.-gravity typeโ horizontal and vertical text placement. gravity.-green-primary pointโ chromaticity green primary point. green primary.-intensity methodโ method to generate intensity value from pixel. intensity method.-intent typeโ type of rendering intent when managing the image color. rendering intent.-interlace typeโ type of image interlacing scheme. interlace scheme.-interline-spacing valueโ set the space between two text lines. line spacing.-interpolate methodโ pixel color interpolation method. interpolation method.-interword-spacing valueโ set the space between two words. word spacing.-kerning valueโ set the space between two letters. kerning.-label stringโ assign a label to an image. label.-limit type valueโ pixel cache resource limit. resource limit.-loop iterationsโ add Netscape loop extension to your GIF animation. loop that GIF.-matteโ store matte channel if the image has one. matte channel.-mattecolor colorโ frame color. matte color.-metric typeโ measure differences between images with this metric. metric.-momentsโ report image moments. moments.-monitorโ monitor progress. progress monitor.-orient typeโ image orientation. orientation.-page geometryโ size and location of an image canvas (setting). page geometry setting.-pingโ efficiently determine image attributes. ping attributes.-pointsize valueโ font point size. point size.-precision valueโ maximum number of significant digits to print. precision.-preview typeโ image preview type. preview type.-quality valueโ JPEG/MIFF/PNG compression level. quality.-quietโ suppress all warning messages. quiet warnings.-read-mask filenameโ associate a read mask with the image. read mask.-red-primary pointโ chromaticity red primary point. red primary.-regard-warningsโ pay attention to warning messages. warnings matter.-remap filenameโ transform image colors to match this set of colors. remap colors.-repage geometryโ size and location of an image canvas. repage.-respect-parenthesesโ settings remain in effect until parenthesis boundary. respect parentheses.-sampling-factor geometryโ horizontal and vertical sampling factor. sampling factor.-scene valueโ image scene number. scene number.-seed valueโ seed a new sequence of pseudo-random numbers. random seed.-size geometryโ width and height of image. size.-statistic type geometryโ replace each pixel with corresponding statistic from the neighborhood. statistic.-stretch typeโ render text with this font stretch. font stretch.-stroke colorโ graphic primitive stroke color. stroke color.-strokewidth valueโ graphic primitive stroke width. stroke width.-style typeโ render text with this font style. font style.-support factorโ resize support:> 1.0is blurry,< 1.0is sharp. support factor.-synchronizeโ synchronize image to storage device. sync to storage.-taintโ declare the image as modified. taint modified.-texture filenameโ name of texture to tile onto the image background. texture tile.-tile-offset geometryโ tile offset. offset.-treedepth valueโ color tree depth. tree depth.-transparent-color colorโ transparent color. transparent color.-undercolor colorโ annotation bounding box color. undercolor.-units typeโ the units of image resolution. resolution units.-verboseโ print detailed information about the image. verbose details.-virtual-pixel methodโ virtual pixel access method. virtual pixel method.-weight typeโ render text with this font weight. font weight.-white-point pointโ chromaticity white point. white point.-write-mask filenameโ associate a write mask with the image. write mask.
โจ Image Operators โจ
okay bestie, this is the whole operator menu and it's giving main character energy โ every single one is here, no cap ๐ซถ
-adaptive-blurgeometry โ adaptively blurs pixels; the effect gets weaker near the edges ๐ธ-adaptive-resizegeometry โ adaptively resizes the image using data-dependent triangulation ๐ซ-adaptive-sharpengeometry โ adaptively sharpens pixels; the effect increases near the edges ๐ฅ-annotategeometry text โ annotates the image with text ๐ฌ-auto-gammaโ automagically adjusts the gamma level of the image โจ-auto-levelโ automagically adjusts the color levels of the image ๐-auto-orientโ automatically orients the image ๐งญ-auto-thresholdmethod โ automatically performs image thresholding โก-benchiterations โ measures performance ๐-bilateral-blurgeometry โ a non-linear, edge-preserving, and noise-reducing smoothing filter ๐งผ-black-thresholdvalue โ forces all pixels below the threshold into black ๐ค-blue-shiftfactor โ simulates a scene at nighttime in the moonlight ๐-blurgeometry โ reduces image noise and reduces detail levels ๐ซ๏ธ-bordergeometry โ surrounds the image with a border of color ๐ผ๏ธ-brightness-contrastgeometry โ improves brightness / contrast of the image โ๏ธ-cannygeometry โ detects edges in the image ๐-channelmask โ sets the image channel mask ๐๏ธ-charcoalradius โ simulates a charcoal drawing โ๏ธ-chopgeometry โ removes pixels from the image interior โ๏ธ-clahegeometry โ contrast limited adaptive histogram equalization ๐-clampโ keeps pixel values in range (0-QuantumRange) ๐-clipโ clips along the first path from the 8BIM profile ๐-clip-maskfilename โ associates a clip mask with the image ๐ญ-clip-pathid โ clips along a named path from the 8BIM profile ๐ค๏ธ-colorizevalue โ colorizes the image with the fill color ๐จ-color-matrixmatrix โ applies color correction to the image ๐งช-colorsvalue โ preferred number of colors in the image ๐-color-thresholdstart_color-stop_color โ forces all pixels in the color range to white, otherwise black โชโซ-connected-componentconnectivity โ connected-components uniquely labeled ๐งฉ-contrastโ enhances or reduces the image contrast ๐-contrast-stretchgeometry โ improves contrast by โstretchingโ the intensity range ๐-convolvecoefficients โ applies a convolution kernel to the image ๐-cycleamount โ cycles the image colormap ๐-deskewthreshold โ straightens an image ๐-despeckleโ reduces the speckles within an image โจ-distortmethod args โ distorts images according to the given method and args ๐ช๏ธ-drawstring โ annotates the image with a graphic primitive ๐๏ธ-edgeradius โ applies a filter to detect edges in the image ๐ช-embossradius โ embosses an image ๐๏ธ-enhanceโ applies a digital filter to enhance a noisy image โจ-equalizeโ performs histogram equalization to an image ๐-evaluateoperator value โ evaluates an arithmetic, relational, or logical expression ๐งฎ-extentgeometry โ sets the image size ๐-extractgeometry โ extracts area from image โ๏ธ-fftโ implements the discrete Fourier transform (DFT) ๐-flipโ flips image vertically ๐-floodfillgeometry color โ floodfills the image with color ๐-flopโ flops image horizontally โ๏ธ-framegeometry โ surrounds image with an ornamental border ๐ผ๏ธ-functionname โ applies a function to the image ๐ง-gammavalue โ level of gamma correction ๐-gaussian-blurgeometry โ reduces image noise and reduces detail levels ๐ซ๏ธ-geometrygeometry โ preferred size or location of the image ๐-grayscalemethod โ converts image to grayscale ๐ฉถ-hough-linesgeometry โ identifies lines in the image ๐-identifyโ identifies the format and characteristics of the image ๐ชช-iftโ implements the inverse discrete Fourier transform (DFT) ๐-implodeamount โ implodes image pixels about the center ๐ฅ-integralโ calculates the sum of values (pixel values) in the image โ-interpolative-resizegeometry โ resizes image using interpolation ๐งต-kmeansgeometry โ K means color reduction ๐จ-latgeometry โ local adaptive thresholding ๐งฑ-layersmethod โ optimizes or compares image layers ๐ง-levelvalue โ adjusts the level of image contrast ๐๏ธ-level-colorscolor,color โ levels image with the given colors ๐-linear-stretchgeometry โ improves contrast by โstretching with saturationโ the intensity range ๐-liquid-rescalegeometry โ rescales image with seam-carving โ๏ธ-mean-shiftgeometry โ delineates arbitrarily shaped clusters in the image ๐งฉ-mediangeometry โ applies a median filter to the image ๐งน-modegeometry โ makes each pixel the 'predominant color' of the neighborhood ๐จ-modulatevalue โ varies the brightness, saturation, and hue ๐-monochromeโ transforms image to black and white โซโช-morphologymethod kernel โ applies a morphology method to the image ๐งฌ-motion-blurgeometry โ simulates motion blur ๐จ-negateโ replaces each pixel with its complementary color ๐-noisegeometry โ adds or reduces noise in an image ๐บ-normalizeโ transforms image to span the full range of colors ๐-opaquecolor โ changes this color to the fill color ๐จ-ordered-ditherNxN โ adds a noise pattern to the image with specific amplitudes ๐-paintradius โ simulates an oil painting ๐จ-perceptibleepsilon โ pixel value less than |epsilon| become epsilon or -epsilon ๐-polaroidangle โ simulates a Polaroid picture ๐ธ-posterizelevels โ reduces the image to a limited number of color levels ๐จ-printstring โ interprets string and prints to console ๐จ๏ธ-profilefilename โ adds, deletes, or applies an image profile ๐งพ-quantizecolorspace โ reduces colors in this colorspace ๐จ-radial-blurangle โ radial blurs the image ๐-raisevalue โ lightens/darkens image edges to create a 3-D effect ๐๏ธ-random-thresholdlow,high โ random thresholds the image ๐ฒ-range-thresholdvalues โ performs either hard or soft thresholding within some range of values in an image ๐-regiongeometry โ applies options to a portion of the image ๐บ๏ธ-renderโ renders vector graphics ๐๏ธ-resamplegeometry โ changes the resolution of an image ๐-resizegeometry โ resizes the image ๐ผ๏ธ-rollgeometry โ rolls an image vertically or horizontally ๐-rotatedegrees โ applies Paeth rotation to the image ๐-samplegeometry โ scales image with pixel sampling ๐งช-scalegeometry โ scales the image ๐-segmentvalues โ segments an image ๐งฉ-selective-blurgeometry โ selectively blurs pixels within a contrast threshold ๐ซ๏ธ-sepia-tonethreshold โ simulates a sepia-toned photo ๐ท-setproperty value โ sets an image property ๐ท๏ธ-shadedegrees โ shades the image using a distant light source ๐ก-shadowgeometry โ simulates an image shadow ๐-sharpengeometry โ sharpens the image ๐ช-shavegeometry โ shaves pixels from the image edges ๐ช-sheargeometry โ slides one edge of the image along the X or Y axis โ๏ธ-sigmoidal-contrastgeometry โ lightness rescaling using sigmoidal contrast enhancement ๐-sketchgeometry โ simulates a pencil sketch โ๏ธ-solarizethreshold โ negates all pixels above the threshold level โ๏ธ-sort-pixelsโ sorts each scanline in ascending order of intensity ๐-sparse-colormethod args โ fills in an image based on a few color points ๐จ-splicegeometry โ splices the background color into the image ๐งฌ-spreadamount โ displaces image pixels by a random amount ๐ฒ-stripโ strips image of all profiles and comments ๐งผ-swirldegrees โ swirls image pixels about the center ๐-thresholdvalue โ thresholds the image โซโช-thumbnailgeometry โ creates a thumbnail of the image ๐ผ๏ธ-tilefilename โ tiles image when filling a graphic primitive ๐งฑ-tintvalue โ tints the image with the fill color ๐จ-transformโ affine transform image ๐-transparentcolor โ makes this color transparent within the image ๐ป-transposeโ flips image vertically and rotates 90 degrees ๐-transverseโ flops image horizontally and rotates 270 degrees ๐-trimโ trims image edges โ๏ธ-typetype โ image type ๐ท๏ธ-unique-colorsโ discards all but one of any pixel color ๐จ-unsharpgeometry โ sharpens the image ๐ช-vignettegeometry โ softens the edges of the image in vignette style ๐ซ๏ธ-wavegeometry โ alters an image along a sine wave ๐-wavelet-denoisethreshold โ removes noise from the image using a wavelet transform ๐งผ-white-balanceโ automagically adjusts white balance of image โช-white-thresholdvalue โ forces all pixels above the threshold into white โช
โจ Image Channel Operators โจ
-channel-fxexpression โ exchanges, extracts, or transfers one or more image channels ๐-separateโ separates an image channel into a grayscale image ๐ฉถ
๐ซ Image Sequence Operators ๐ซ
these ones are all about sequences, bestie โ when you're working with a whole stack of images instead of just one lonely lil pic โจ
-appendโ stick an image sequence together top-to-bottom. oh and if you want left-to-right instead? use+append. iconic behavior fr-clutโ apply a color lookup table to the image ๐จ-coalesceโ merge a sequence of images together-combineโ combine a sequence of images-compareโ mathematically and visually annotate the difference between an image and its reconstruction. yes it does both, she's multifaceted ๐-complexoperator โ perform complex mathematics on an image sequence-compositeโ composite image-copygeometry offset, โ copy pixels from one area of an image to another-cropgeometry โ cut out a rectangular region of the image โ๏ธ-deconstructโ break down an image sequence into its constituent parts-evaluate-sequenceoperator โ evaluate an arithmetic, relational, or logical expression-flattenโ flatten a sequence of images-fxexpression โ apply a mathematical expression to an image channel(s)-hald-clutโ apply a Hald color lookup table to the image-morphvalue โ morph an image 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)-processarguments โ process the image with a custom image filter-smushgeometry โ smush an image sequence together-writefilename โ write images to this file
๐งบ Image Stack Operators ๐งบ
this is your lil image stack management era โ cloning, deleting, swapping, the whole vibe
-cloneindexes โ clone an image-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 random-but-essential besties of the option world
-debugevents โ display copious debugging information-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 so here's a lil rule you gotta internalize: use any setting or operator as an output-option. but bestie, only a limited number of settings are input-options ๐ญ and those are:
-antialias, -caption, -density, -define, -encoding, -font, -pointsize, -size, and -texture
plus any of the miscellaneous options. that's the whole list, no cap.
by default, the image format offileis 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). and specifyfileas-for standard input or output. ๐ซถ
๐ 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 on the whole page, bestie!! ๐ this was ImageMagick, dated 2009/01/10 01:00:00, living in the convert-im7.q16(1) man page. go forth and convert, you absolute icon ๐๐
๐ฆ 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