Debian Codegraph @

utilities/convert.1

raw
1 .TH convert 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
2 .SH NAME
3 convert \- convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
4 .SH SYNOPSIS
5 .TP
6 \fBmagick convert\fP [\fIinput-options\fP] \fIinput-file\fP [\fIoutput-options\fP] \fIoutput-file\fP
7 .SH OVERVIEW
8 The \fBconvert\fP program is a member of the ImageMagick(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.
9
10 For more information about the convert command, point your browser to file:///usr/local/share/doc/ImageMagick-7/www/convert.html or https://imagemagick.org/script/convert.php.
11 .SH DESCRIPTION
12 Image Settings:
13 \-adjoin join images into a single multi-image file
14 \-affine matrix affine transform matrix
15 \-alpha option activate, deactivate, reset, or set the alpha channel
16 \-antialias remove pixel-aliasing
17 \-authenticate value decrypt image with this password
18 \-attenuate value lessen (or intensify) when adding noise to an image
19 \-background color background color
20 \-bias value add bias when convolving an image
21 \-black-point-compensation
22 use black point compensation
23 \-blue-primary point chromaticity blue primary point
24 \-bordercolor color border color
25 \-caption string assign a caption to an image
26 \-cdl filename color correct with a color decision list
27 \-clip clip along the first path from the 8BIM profile
28 \-clip-mask filename associate a clip mask with the image
29 \-clip-path id clip along a named path from the 8BIM profile
30 \-colorspace type alternate image colorspace
31 \-comment string annotate image with comment
32 \-compose operator set image composite operator
33 \-compress type type of pixel compression when writing the image
34 \-decipher filename convert cipher pixels to plain pixels
35 \-define format:option
36 define one or more image format options
37 \-delay centiseconds display the next image after pausing
38 \-density geometry horizontal and vertical density of the image
39 \-depth value image depth
40 \-direction type render text right-to-left or left-to-right
41 \-display server get image or font from this X server
42 \-dispose method layer disposal method
43 \-dither method apply error diffusion to image
44 \-encipher filename convert plain pixels to cipher pixels
45 \-encoding type text encoding type
46 \-endian type endianness (MSB or LSB) of the image
47 \-family name render text with this font family
48 \-features distance analyze image features (e.g. contrast, correlation)
49 \-fill color color to use when filling a graphic primitive
50 \-filter type use this filter when resizing an image
51 \-flatten flatten a sequence of images
52 \-font name render text with this font
53 \-format "string" output formatted image characteristics
54 \-fuzz distance colors within this distance are considered equal
55 \-gravity type horizontal and vertical text placement
56 \-green-primary point chromaticity green primary point
57 \-intensity method method to generate intensity value from pixel
58 \-intent type type of rendering intent when managing the image color
59 \-interlace type type of image interlacing scheme
60 \-interline-spacing value
61 set the space between two text lines
62 \-interpolate method pixel color interpolation method
63 \-interword-spacing value
64 set the space between two words
65 \-kerning value set the space between two letters
66 \-label string assign a label to an image
67 \-limit type value pixel cache resource limit
68 \-loop iterations add Netscape loop extension to your GIF animation
69 \-matte store matte channel if the image has one
70 \-mattecolor color frame color
71 \-metric type measure differences between images with this metric
72 \-moments report image moments
73 \-monitor monitor progress
74 \-orient type image orientation
75 \-page geometry size and location of an image canvas (setting)
76 \-ping efficiently determine image attributes
77 \-pointsize value font point size
78 \-precision value maximum number of significant digits to print
79 \-preview type image preview type
80 \-quality value JPEG/MIFF/PNG compression level
81 \-quiet suppress all warning messages
82 \-read-mask filename associate a read mask with the image
83 \-red-primary point chromaticity red primary point
84 \-regard-warnings pay attention to warning messages
85 \-remap filename transform image colors to match this set of colors
86 \-repage geometry size and location of an image canvas
87 \-respect-parentheses settings remain in effect until parenthesis boundary
88 \-sampling-factor geometry
89 horizontal and vertical sampling factor
90 \-scene value image scene number
91 \-seed value seed a new sequence of pseudo-random numbers
92 \-size geometry width and height of image
93 \-statistic type geometry
94 replace each pixel with corresponding statistic from the neighborhood
95 \-stretch type render text with this font stretch
96 \-stroke color graphic primitive stroke color
97 \-strokewidth value graphic primitive stroke width
98 \-style type render text with this font style
99 \-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
100 \-synchronize synchronize image to storage device
101 \-taint declare the image as modified
102 \-texture filename name of texture to tile onto the image background
103 \-tile-offset geometry
104 tile offset
105 \-treedepth value color tree depth
106 \-transparent-color color
107 transparent color
108 \-undercolor color annotation bounding box color
109 \-units type the units of image resolution
110 \-verbose print detailed information about the image
111 \-virtual-pixel method
112 virtual pixel access method
113 \-weight type render text with this font weight
114 \-white-point point chromaticity white point
115 \-write-mask filename associate a write mask with the image
116
117 Image Operators:
118 \-adaptive-blur geometry
119 adaptively blur pixels; decrease effect near edges
120 \-adaptive-resize geometry
121 adaptively resize image with data dependent triangulation
122 \-adaptive-sharpen geometry
123 adaptively sharpen pixels; increase effect near edges
124 \-annotate geometry text
125 annotate the image with text
126 \-auto-gamma automagically adjust gamma level of image
127 \-auto-level automagically adjust color levels of image
128 \-auto-orient automatically orient image
129 \-auto-threshold method
130 automatically perform image thresholding
131 \-bench iterations measure performance
132 \-bilateral-blur geometry
133 non-linear, edge-preserving, and noise-reducing smoothing filter
134 \-black-threshold value
135 force all pixels below the threshold into black
136 \-blue-shift factor simulate a scene at nighttime in the moonlight
137 \-blur geometry reduce image noise and reduce detail levels
138 \-border geometry surround image with a border of color
139 \-brightness-contrast geometry
140 improve brightness / contrast of the image
141 \-canny geometry detect edges in the image
142 \-channel mask set the image channel mask
143 \-charcoal radius simulate a charcoal drawing
144 \-chop geometry remove pixels from the image interior
145 \-clahe geometry contrast limited adaptive histogram equalization
146 \-clamp keep pixel values in range (0-QuantumRange)
147 \-clip clip along the first path from the 8BIM profile
148 \-clip-mask filename associate a clip mask with the image
149 \-clip-path id clip along a named path from the 8BIM profile
150 \-colorize value colorize the image with the fill color
151 \-color-matrix matrix apply color correction to the image
152 \-colors value preferred number of colors in the image
153 \-color-threshold start_color-stop_color
154 force all pixels in the color range to white otherwise black
155 \-connected-component connectivity
156 connected-components uniquely labeled
157 \-contrast enhance or reduce the image contrast
158 \-contrast-stretch geometry
159 improve contrast by `stretching' the intensity range
160 \-convolve coefficients
161 apply a convolution kernel to the image
162 \-cycle amount cycle the image colormap
163 \-deskew threshold straighten an image
164 \-despeckle reduce the speckles within an image
165 \-distort method args
166 distort images according to given method and args
167 \-draw string annotate the image with a graphic primitive
168 \-edge radius apply a filter to detect edges in the image
169 \-emboss radius emboss an image
170 \-enhance apply a digital filter to enhance a noisy image
171 \-equalize perform histogram equalization to an image
172 \-evaluate operator value
173 evaluate an arithmetic, relational, or logical expression
174 \-extent geometry set the image size
175 \-extract geometry extract area from image
176 \-fft implements the discrete Fourier transform (DFT)
177 \-flip flip image vertically
178 \-floodfill geometry color
179 floodfill the image with color
180 \-flop flop image horizontally
181 \-frame geometry surround image with an ornamental border
182 \-function name apply a function to the image
183 \-gamma value level of gamma correction
184 \-gaussian-blur geometry
185 reduce image noise and reduce detail levels
186 \-geometry geometry preferred size or location of the image
187 \-grayscale method convert image to grayscale
188 \-hough-lines geometry
189 identify lines in the image
190 \-identify identify the format and characteristics of the image
191 \-ift implements the inverse discrete Fourier transform (DFT)
192 \-implode amount implode image pixels about the center
193 \-integral calculate the sum of values (pixel values) in the image
194 \-interpolative-resize geometry
195 resize image using interpolation
196 \-kmeans geometry K means color reduction
197 \-lat geometry local adaptive thresholding
198 \-layers method optimize or compare image layers
199 \-level value adjust the level of image contrast
200 \-level-colors color,color
201 level image with the given colors
202 \-linear-stretch geometry
203 improve contrast by `stretching with saturation' the intensity range
204 \-liquid-rescale geometry
205 rescale image with seam-carving
206 \-mean-shift geometry delineate arbitrarily shaped clusters in the image
207 \-median geometry apply a median filter to the image
208 \-mode geometry make each pixel the 'predominant color' of the neighborhood
209 \-modulate value vary the brightness, saturation, and hue
210 \-monochrome transform image to black and white
211 \-morphology method kernel
212 apply a morphology method to the image
213 \-motion-blur geometry
214 simulate motion blur
215 \-negate replace each pixel with its complementary color
216 \-noise geometry add or reduce noise in an image
217 \-normalize transform image to span the full range of colors
218 \-opaque color change this color to the fill color
219 \-ordered-dither NxN
220 add a noise pattern to the image with specific amplitudes
221 \-paint radius simulate an oil painting
222 \-perceptible epsilon
223 pixel value less than |epsilon| become epsilon or -epsilon
224 \-polaroid angle simulate a Polaroid picture
225 \-posterize levels reduce the image to a limited number of color levels
226 \-print string interpret string and print to console
227 \-profile filename add, delete, or apply an image profile
228 \-quantize colorspace reduce colors in this colorspace
229 \-radial-blur angle radial blur the image
230 \-raise value lighten/darken image edges to create a 3-D effect
231 \-random-threshold low,high
232 random threshold the image
233 \-range-threshold values
234 perform either hard or soft thresholding within some range of values in an image
235 \-region geometry apply options to a portion of the image
236 \-render render vector graphics
237 \-resample geometry change the resolution of an image
238 \-resize geometry resize the image
239 \-roll geometry roll an image vertically or horizontally
240 \-rotate degrees apply Paeth rotation to the image
241 \-sample geometry scale image with pixel sampling
242 \-scale geometry scale the image
243 \-segment values segment an image
244 \-selective-blur geometry
245 selectively blur pixels within a contrast threshold
246 \-sepia-tone threshold
247 simulate a sepia-toned photo
248 \-set property value set an image property
249 \-shade degrees shade the image using a distant light source
250 \-shadow geometry simulate an image shadow
251 \-sharpen geometry sharpen the image
252 \-shave geometry shave pixels from the image edges
253 \-shear geometry slide one edge of the image along the X or Y axis
254 \-sigmoidal-contrast geometry
255 lightness rescaling using sigmoidal contrast enhancement
256 \-sketch geometry simulate a pencil sketch
257 \-solarize threshold negate all pixels above the threshold level
258 \-sort-pixels sort each scanline in ascending order of intensity
259 \-sparse-color method args
260 fill in a image based on a few color points
261 \-splice geometry splice the background color into the image
262 \-spread amount displace image pixels by a random amount
263 \-strip strip image of all profiles and comments
264 \-swirl degrees swirl image pixels about the center
265 \-threshold value threshold the image
266 \-thumbnail geometry create a thumbnail of the image
267 \-tile filename tile image when filling a graphic primitive
268 \-tint value tint the image with the fill color
269 \-transform affine transform image
270 \-transparent color make this color transparent within the image
271 \-transpose flip image vertically and rotate 90 degrees
272 \-transverse flop image horizontally and rotate 270 degrees
273 \-trim trim image edges
274 \-type type image type
275 \-unique-colors discard all but one of any pixel color
276 \-unsharp geometry sharpen the image
277 \-vignette geometry soften the edges of the image in vignette style
278 \-wave geometry alter an image along a sine wave
279 \-wavelet-denoise threshold
280 removes noise from the image using a wavelet transform
281 \-white-balance automagically adjust white balance of image
282 \-white-threshold value
283 force all pixels above the threshold into white
284
285 Image Channel Operators:
286 \-channel-fx expression
287 exchange, extract, or transfer one or more image channels
288 \-separate separate an image channel into a grayscale image
289
290 Image Sequence Operators:
291 \-append append an image sequence top to bottom (use +append for left to right)
292 \-clut apply a color lookup table to the image
293 \-coalesce merge a sequence of images
294 \-combine combine a sequence of images
295 \-compare mathematically and visually annotate the difference between an image and its reconstruction
296 \-complex operator perform complex mathematics on an image sequence
297 \-composite composite image
298 \-copy geometry offset,
299 copy pixels from one area of an image to another
300 \-crop geometry cut out a rectangular region of the image
301 \-deconstruct break down an image sequence into constituent parts
302 \-evaluate-sequence operator
303 evaluate an arithmetic, relational, or logical expression
304 \-flatten flatten a sequence of images
305 \-fx expression apply mathematical expression to an image channel(s)
306 \-hald-clut apply a Hald color lookup table to the image
307 \-morph value morph an image sequence
308 \-mosaic create a mosaic from an image sequence
309 \-poly terms build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
310 \-process arguments process the image with a custom image filter
311 \-smush geometry smush an image sequence together
312 \-write filename write images to this file
313
314 Image Stack Operators:
315 \-clone indexes clone an image
316 \-delete indexes delete the image from the image sequence
317 \-duplicate count,indexes
318 duplicate an image one or more times
319 \-insert index insert last image into the image sequence
320 \-reverse reverse image sequence
321 \-swap indexes swap two images in the image sequence
322
323 Miscellaneous Options:
324 \-debug events display copious debugging information
325 \-distribute-cache port
326 distributed pixel cache spanning one or more servers
327 \-help print program options
328 \-log format format of debugging information
329 \-list type print a list of supported option arguments
330 \-version print version information
331
332 Use any setting or operator as an \fIoutput-option\fP. Only a limited number of setting are \fIinput-option\fP. They include: \-antialias, \-caption, \-density, \-define, \-encoding, \-font, \-pointsize, \-size, and \-texture as well as any of the miscellaneous options.
333
334 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.
335 .SH SEE ALSO
336 ImageMagick(1)
337
338 .SH COPYRIGHT
339 \fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/local/share/doc/ImageMagick-7/www/license.html or https://imagemagick.org/license/\fP