convert-im7.q16(1)

๐Ÿ“ฆ
version 7.1.2.31 ยท 2 versions
, in ubuntu resolute, ubuntu stonking

๐Ÿ’… 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.0 is blurry, < 1.0 is 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-blur geometry โ€” adaptively blurs pixels; the effect gets weaker near the edges ๐ŸŒธ
  • -adaptive-resize geometry โ€” adaptively resizes the image using data-dependent triangulation ๐Ÿ’ซ
  • -adaptive-sharpen geometry โ€” adaptively sharpens pixels; the effect increases near the edges ๐Ÿ”ฅ
  • -annotate geometry 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-threshold method โ€” automatically performs image thresholding โšก
  • -bench iterations โ€” measures performance ๐Ÿ“Š
  • -bilateral-blur geometry โ€” a non-linear, edge-preserving, and noise-reducing smoothing filter ๐Ÿงผ
  • -black-threshold value โ€” forces all pixels below the threshold into black ๐Ÿ–ค
  • -blue-shift factor โ€” simulates a scene at nighttime in the moonlight ๐ŸŒ™
  • -blur geometry โ€” reduces image noise and reduces detail levels ๐ŸŒซ๏ธ
  • -border geometry โ€” surrounds the image with a border of color ๐Ÿ–ผ๏ธ
  • -brightness-contrast geometry โ€” improves brightness / contrast of the image โ˜€๏ธ
  • -canny geometry โ€” detects edges in the image ๐Ÿ”
  • -channel mask โ€” sets the image channel mask ๐ŸŽš๏ธ
  • -charcoal radius โ€” simulates a charcoal drawing โœ๏ธ
  • -chop geometry โ€” removes pixels from the image interior โœ‚๏ธ
  • -clahe geometry โ€” contrast limited adaptive histogram equalization ๐Ÿ“ˆ
  • -clamp โ€” keeps pixel values in range (0-QuantumRange) ๐Ÿ”’
  • -clip โ€” clips along the first path from the 8BIM profile ๐Ÿ“Ž
  • -clip-mask filename โ€” associates a clip mask with the image ๐ŸŽญ
  • -clip-path id โ€” clips along a named path from the 8BIM profile ๐Ÿ›ค๏ธ
  • -colorize value โ€” colorizes the image with the fill color ๐ŸŽจ
  • -color-matrix matrix โ€” applies color correction to the image ๐Ÿงช
  • -colors value โ€” preferred number of colors in the image ๐ŸŒˆ
  • -color-threshold start_color-stop_color โ€” forces all pixels in the color range to white, otherwise black โšชโšซ
  • -connected-component connectivity โ€” connected-components uniquely labeled ๐Ÿงฉ
  • -contrast โ€” enhances or reduces the image contrast ๐ŸŒ—
  • -contrast-stretch geometry โ€” improves contrast by โ€˜stretchingโ€™ the intensity range ๐Ÿ“
  • -convolve coefficients โ€” applies a convolution kernel to the image ๐ŸŒ€
  • -cycle amount โ€” cycles the image colormap ๐Ÿ”„
  • -deskew threshold โ€” straightens an image ๐Ÿ“
  • -despeckle โ€” reduces the speckles within an image โœจ
  • -distort method args โ€” distorts images according to the given method and args ๐ŸŒช๏ธ
  • -draw string โ€” annotates the image with a graphic primitive ๐Ÿ–Œ๏ธ
  • -edge radius โ€” applies a filter to detect edges in the image ๐Ÿ”ช
  • -emboss radius โ€” embosses an image ๐Ÿ”๏ธ
  • -enhance โ€” applies a digital filter to enhance a noisy image โœจ
  • -equalize โ€” performs histogram equalization to an image ๐Ÿ“Š
  • -evaluate operator value โ€” evaluates an arithmetic, relational, or logical expression ๐Ÿงฎ
  • -extent geometry โ€” sets the image size ๐Ÿ“
  • -extract geometry โ€” extracts area from image โœ‚๏ธ
  • -fft โ€” implements the discrete Fourier transform (DFT) ๐ŸŒŠ
  • -flip โ€” flips image vertically ๐Ÿ”ƒ
  • -floodfill geometry color โ€” floodfills the image with color ๐ŸŒŠ
  • -flop โ€” flops image horizontally โ†”๏ธ
  • -frame geometry โ€” surrounds image with an ornamental border ๐Ÿ–ผ๏ธ
  • -function name โ€” applies a function to the image ๐Ÿง 
  • -gamma value โ€” level of gamma correction ๐ŸŒž
  • -gaussian-blur geometry โ€” reduces image noise and reduces detail levels ๐ŸŒซ๏ธ
  • -geometry geometry โ€” preferred size or location of the image ๐Ÿ“
  • -grayscale method โ€” converts image to grayscale ๐Ÿฉถ
  • -hough-lines geometry โ€” identifies lines in the image ๐Ÿ“
  • -identify โ€” identifies the format and characteristics of the image ๐Ÿชช
  • -ift โ€” implements the inverse discrete Fourier transform (DFT) ๐Ÿ”„
  • -implode amount โ€” implodes image pixels about the center ๐Ÿ’ฅ
  • -integral โ€” calculates the sum of values (pixel values) in the image โž•
  • -interpolative-resize geometry โ€” resizes image using interpolation ๐Ÿงต
  • -kmeans geometry โ€” K means color reduction ๐ŸŽจ
  • -lat geometry โ€” local adaptive thresholding ๐Ÿงฑ
  • -layers method โ€” optimizes or compares image layers ๐Ÿง…
  • -level value โ€” adjusts the level of image contrast ๐ŸŽš๏ธ
  • -level-colors color,color โ€” levels image with the given colors ๐ŸŒˆ
  • -linear-stretch geometry โ€” improves contrast by โ€˜stretching with saturationโ€™ the intensity range ๐Ÿ“
  • -liquid-rescale geometry โ€” rescales image with seam-carving โœ‚๏ธ
  • -mean-shift geometry โ€” delineates arbitrarily shaped clusters in the image ๐Ÿงฉ
  • -median geometry โ€” applies a median filter to the image ๐Ÿงน
  • -mode geometry โ€” makes each pixel the 'predominant color' of the neighborhood ๐ŸŽจ
  • -modulate value โ€” varies the brightness, saturation, and hue ๐ŸŒˆ
  • -monochrome โ€” transforms image to black and white โšซโšช
  • -morphology method kernel โ€” applies a morphology method to the image ๐Ÿงฌ
  • -motion-blur geometry โ€” simulates motion blur ๐Ÿ’จ
  • -negate โ€” replaces each pixel with its complementary color ๐Ÿ”„
  • -noise geometry โ€” adds or reduces noise in an image ๐Ÿ“บ
  • -normalize โ€” transforms image to span the full range of colors ๐ŸŒˆ
  • -opaque color โ€” changes this color to the fill color ๐ŸŽจ
  • -ordered-dither NxN โ€” adds a noise pattern to the image with specific amplitudes ๐Ÿ“
  • -paint radius โ€” simulates an oil painting ๐ŸŽจ
  • -perceptible epsilon โ€” pixel value less than |epsilon| become epsilon or -epsilon ๐Ÿ‘€
  • -polaroid angle โ€” simulates a Polaroid picture ๐Ÿ“ธ
  • -posterize levels โ€” reduces the image to a limited number of color levels ๐ŸŽจ
  • -print string โ€” interprets string and prints to console ๐Ÿ–จ๏ธ
  • -profile filename โ€” adds, deletes, or applies an image profile ๐Ÿงพ
  • -quantize colorspace โ€” reduces colors in this colorspace ๐ŸŽจ
  • -radial-blur angle โ€” radial blurs the image ๐ŸŒ€
  • -raise value โ€” lightens/darkens image edges to create a 3-D effect ๐Ÿ”๏ธ
  • -random-threshold low,high โ€” random thresholds the image ๐ŸŽฒ
  • -range-threshold values โ€” performs either hard or soft thresholding within some range of values in an image ๐Ÿ“Š
  • -region geometry โ€” applies options to a portion of the image ๐Ÿ—บ๏ธ
  • -render โ€” renders vector graphics ๐Ÿ–Œ๏ธ
  • -resample geometry โ€” changes the resolution of an image ๐Ÿ“
  • -resize geometry โ€” resizes the image ๐Ÿ–ผ๏ธ
  • -roll geometry โ€” rolls an image vertically or horizontally ๐Ÿ”„
  • -rotate degrees โ€” applies Paeth rotation to the image ๐Ÿ”„
  • -sample geometry โ€” scales image with pixel sampling ๐Ÿงช
  • -scale geometry โ€” scales the image ๐Ÿ“
  • -segment values โ€” segments an image ๐Ÿงฉ
  • -selective-blur geometry โ€” selectively blurs pixels within a contrast threshold ๐ŸŒซ๏ธ
  • -sepia-tone threshold โ€” simulates a sepia-toned photo ๐Ÿ“ท
  • -set property value โ€” sets an image property ๐Ÿท๏ธ
  • -shade degrees โ€” shades the image using a distant light source ๐Ÿ’ก
  • -shadow geometry โ€” simulates an image shadow ๐ŸŒ‘
  • -sharpen geometry โ€” sharpens the image ๐Ÿ”ช
  • -shave geometry โ€” shaves pixels from the image edges ๐Ÿช’
  • -shear geometry โ€” slides one edge of the image along the X or Y axis โ†”๏ธ
  • -sigmoidal-contrast geometry โ€” lightness rescaling using sigmoidal contrast enhancement ๐Ÿ“ˆ
  • -sketch geometry โ€” simulates a pencil sketch โœ๏ธ
  • -solarize threshold โ€” negates all pixels above the threshold level โ˜€๏ธ
  • -sort-pixels โ€” sorts each scanline in ascending order of intensity ๐Ÿ“Š
  • -sparse-color method args โ€” fills in an image based on a few color points ๐ŸŽจ
  • -splice geometry โ€” splices the background color into the image ๐Ÿงฌ
  • -spread amount โ€” displaces image pixels by a random amount ๐ŸŽฒ
  • -strip โ€” strips image of all profiles and comments ๐Ÿงผ
  • -swirl degrees โ€” swirls image pixels about the center ๐ŸŒ€
  • -threshold value โ€” thresholds the image โšซโšช
  • -thumbnail geometry โ€” creates a thumbnail of the image ๐Ÿ–ผ๏ธ
  • -tile filename โ€” tiles image when filling a graphic primitive ๐Ÿงฑ
  • -tint value โ€” tints the image with the fill color ๐ŸŽจ
  • -transform โ€” affine transform image ๐Ÿ”„
  • -transparent color โ€” 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 โœ‚๏ธ
  • -type type โ€” image type ๐Ÿท๏ธ
  • -unique-colors โ€” discards all but one of any pixel color ๐ŸŽจ
  • -unsharp geometry โ€” sharpens the image ๐Ÿ”ช
  • -vignette geometry โ€” softens the edges of the image in vignette style ๐ŸŒซ๏ธ
  • -wave geometry โ€” alters an image along a sine wave ๐ŸŒŠ
  • -wavelet-denoise threshold โ€” removes noise from the image using a wavelet transform ๐Ÿงผ
  • -white-balance โ€” automagically adjusts white balance of image โšช
  • -white-threshold value โ€” forces all pixels above the threshold into white โšช

โœจ Image Channel Operators โœจ

  • -channel-fx expression โ€” 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 ๐Ÿ’…
  • -complex operator โ€” perform complex mathematics on an image sequence
  • -composite โ€” composite image
  • -copy geometry offset, โ€” copy pixels from one area of an image to another
  • -crop geometry โ€” cut out a rectangular region of the image โœ‚๏ธ
  • -deconstruct โ€” break down an image sequence into its constituent parts
  • -evaluate-sequence operator โ€” evaluate an arithmetic, relational, or logical expression
  • -flatten โ€” flatten a sequence of images
  • -fx expression โ€” apply a mathematical expression to an image channel(s)
  • -hald-clut โ€” apply a Hald color lookup table to the image
  • -morph value โ€” morph an image sequence ๐Ÿฆ‹
  • -mosaic โ€” create a mosaic from an image sequence
  • -poly terms โ€” build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
  • -process arguments โ€” process the image with a custom image filter
  • -smush geometry โ€” smush an image sequence together
  • -write filename โ€” write images to this file

๐Ÿงบ Image Stack Operators ๐Ÿงบ

this is your lil image stack management era โ€” cloning, deleting, swapping, the whole vibe

  • -clone indexes โ€” clone an image
  • -delete indexes โ€” delete the image from the image sequence
  • -duplicate count,indexes โ€” duplicate an image one or more times
  • -insert index โ€” insert last image into the image sequence
  • -reverse โ€” reverse image sequence ๐Ÿ”„
  • -swap indexes โ€” swap two images in the image sequence

๐Ÿซง Miscellaneous Options ๐Ÿซง

the random-but-essential besties of the option world

  • -debug events โ€” display copious debugging information
  • -distribute-cache port โ€” distributed pixel cache spanning one or more servers
  • -help โ€” print program options
  • -log format โ€” format of debugging information
  • -list type โ€” 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 of file is 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 specify file as - for standard input or output. ๐Ÿซถ

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€


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