convert - convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
convert-im6.q16 [input-option] input-file [output-option] output-file
| Use Case | Command | Description |
|---|---|---|
| đŧī¸ Basic format conversion | convert input.png output.jpg | Convert PNG to JPEG |
| đ Resize | convert -resize 50% input.png output.png | Scale image to 50% |
| đ Rotate | convert -rotate 90 input.png output.png | Rotate 90 degrees clockwise |
| đ§ Blur | convert -blur 0x8 input.png output.png | Apply Gaussian blur (radius 0, sigma 8) |
| âī¸ Crop | convert -crop 100x100+0+0 input.png output.png | Crop to 100x100 pixels from top-left |
| âĢ Grayscale | convert -colorspace gray input.png output.png | Convert to grayscale |
| đ Thumbnail | convert -thumbnail 100x100 input.png output.png | Create a 100x100 thumbnail |
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.
-adjoin â join images into a single multi-image file-affine matrix â affine transform matrix-alpha option â activate, deactivate, reset, or set the alpha channel-antialias â remove pixel-aliasing-authenticate value â decrypt image with this password-attenuate value â lessen (or intensify) when adding noise to an image-background color â background color-bias value â add bias when convolving an image-black-point-compensation â use black point compensation-blue-primary point â chromaticity blue primary point-bordercolor color â border color-caption string â assign a caption to an image-cdl filename â color correct with a color decision list-channel type â apply option to select image channels-clip â clip along the first path from the 8BIM profile-clip-mask filename â associate a clip mask with the image-clip-path id â clip along a named path from the 8BIM profile-colors value â preferred number of colors in the image-colorspace type â alternate image colorspace-comment string â annotate image with comment-compose operator â set image composite operator-compress type â type of pixel compression when writing the image-decipher filename â convert cipher pixels to plain pixels-define format:option â define one or more image format options-delay centiseconds â display the next image after pausing-density geometry â horizontal and vertical density of the image-depth value â image depth-direction type â render text right-to-left or left-to-right-display server â get image or font from this X server-dispose method â layer disposal method-dither method â apply error diffusion to image-encipher filename â convert plain pixels to cipher pixels-encoding type â text encoding type-endian type â endianness (MSB or LSB) of the image-family name â render text with this font family-features distance â analyze image features (e.g. contrast, correlation)-fill color â color to use when filling a graphic primitive-filter type â use this filter when resizing an image-flatten â flatten a sequence of images-font name â render text with this font-format "string" â output formatted image characteristics-fuzz distance â colors within this distance are considered equal-gravity type â horizontal and vertical text placement-green-primary point â chromaticity green primary point-intensity method â method to generate intensity value from pixel-intent type â type of rendering intent when managing the image color-interlace type â type of image interlacing scheme-interline-spacing value â set the space between two text lines-interpolate method â pixel color interpolation method-interword-spacing value â set the space between two words-kerning value â set the space between two letters-label string â assign a label to an image-limit type value â pixel cache resource limit-loop iterations â add Netscape loop extension to your GIF animation-mask filename â associate a mask with the image-matte â store matte channel if the image has one-mattecolor color â frame color-metric type â measure differences between images with this metric-moments â report image moments-monitor â monitor progress-orient type â image orientation-page geometry â size and location of an image canvas (setting)-ping â efficiently determine image attributes-pointsize value â font point size-precision value â maximum number of significant digits to print-preview type â image preview type-quality value â JPEG/MIFF/PNG compression level-quiet â suppress all warning messages-red-primary point â chromaticity red primary point-regard-warnings â pay attention to warning messages-remap filename â transform image colors to match this set of colors-repage geometry â size and location of an image canvas-respect-parentheses â settings remain in effect until parenthesis boundary-sampling-factor geometry â horizontal and vertical sampling factor-scene value â image scene number-seed value â seed a new sequence of pseudo-random numbers-size geometry â width and height of image-statistic type geometry â replace each pixel with corresponding statistic from the neighborhood-stretch type â render text with this font stretch-stroke color â graphic primitive stroke color-strokewidth value â graphic primitive stroke width-style type â render text with this font style-support factor â resize support: > 1.0 is blurry, < 1.0 is sharp-synchronize â synchronize image to storage device-taint â declare the image as modified-texture filename â name of texture to tile onto the image background-tile-offset geometry â tile offset-treedepth value â color tree depth-transparent-color color â transparent color-undercolor color â annotation bounding box color-units type â the units of image resolution-verbose â print detailed information about the image-view â FlashPix viewing transforms-virtual-pixel method â virtual pixel access method-weight type â render text with this font weight-white-point point â chromaticity white point-adaptive-blur geometry â adaptively blur pixels; decrease effect near edges-adaptive-resize geometry â adaptively resize image with data dependent triangulation-adaptive-sharpen geometry â adaptively sharpen pixels; increase effect near edges-annotate geometry text â annotate the image with text-auto-gamma â automagically adjust gamma level of image-auto-level â automagically adjust color levels of image-auto-orient â automatically orient image-bench iterations â measure performance-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 image with a border of color-brightness-contrast geometry â improve brightness / contrast of the image-canny geometry â detect edges in the image-charcoal radius â simulate a charcoal drawing-chop geometry â remove pixels from the image interior-clamp â keep pixel values in range (0-QuantumRange)-clip â clip along the first path from the 8BIM profile-clip-mask filename â associate a clip mask with the image-clip-path id â clip along a named path from the 8BIM profile-colorize value â colorize the image with the fill color-color-matrix matrix â apply color correction to the image-connected-component connectivity â connected-components uniquely labeled-contrast â enhance or reduce the image contrast-contrast-stretch geometry â improve contrast by `stretching' the intensity range-convolve coefficients â apply a convolution kernel to the image-cycle amount â cycle the image colormap-deskew threshold â straighten an image-despeckle â reduce the speckles within an image-distort method args â distort images according to given method and args-draw string â annotate the image with a graphic primitive-edge radius â apply a filter to detect edges in the image-emboss radius â emboss an image-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-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-gamma value â level of gamma correction-gaussian-blur geometry â reduce image noise and reduce detail levels-geometry geometry â preferred size or location of the image-grayscale method â convert image to grayscale-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-interpolative-resize geometry â resize image using 'point sampled' interpolation-lat geometry â local adaptive thresholding-layers method â optimize or compare image layers-level value â adjust the level of image contrast-level-colors color,color â level image with the given colors-linear-stretch geometry â improve contrast by `stretching with saturation' the intensity range-liquid-rescale geometry â rescale image with seam-carving-magnify â double the size of the image with pixel art scaling-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-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| become epsilon or -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-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-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-threshold value â force all pixels above the threshold into white-append â append an image sequence top to bottom (use +append for left to right)-clut â apply a color lookup table to the image-coalesce â merge a sequence of images-combine â combine a sequence of images-compare â mathematically and visually annotate the difference between an image and its reconstruction-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 constituent parts-evaluate-sequence operator â evaluate an arithmetic, relational, or logical expression-flatten â flatten a sequence of images-fx expression â apply 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-separate â separate an image channel into a grayscale image-smush geometry â smush an image sequence together-write filename â write images to this file-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-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 informationUse any setting or operator as an output-option. Only a limited number of setting are input-option. They include: -antialias, -caption, -density, -define, -encoding, -font, -pointsize, -size, and -texture as well as any of the miscellaneous options.
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). Specify 'file' as '-' for standard input or output.
Copyright (C) 1999-2020 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.
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 07:47 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)