![]() I wrote the script in PHP and ImageMagick was the weapon of choice. Recently I got the opportunity to work on a project where a lot of images had to be manipulated - changing the resolution and keeping the file size in check. In this post, I’m going to list out a few of the commands which come in very handy in a variety of situations. support factor resize support: > 1.0 is blurry, < 1.If you’re not sure what ImageMagick is, it’s one of the greatest tools you could have on your computer, to manipulate images and a few other types of files. style type render text with this font style strokewidth value graphic primitive stroke width stroke color graphic primitive stroke color stretch type render text with this font stretch ![]() Replace each pixel with corresponding statistic from the neighborhood seed value seed a new sequence of pseudo-random numbers respect-parentheses settings remain in effect until parenthesis boundary remap filename transform image colors to match this set of colors regard-warnings pay attention to warning messages red-primary point chromaticity red primary point quality value JPEG/MIFF/PNG compression level precision value maximum number of significant digits to print ping efficiently determine image attributes page geometry size and location of an image canvas (setting) metric type measure differences between images with this metric matte store matte channel if the image has one mask filename associate a mask with the image loop iterations add Netscape loop extension to your GIF animation limit type value pixel cache resource limit kerning value set the space between two letters interpolate method pixel color interpolation method interlace type type of image interlacing scheme intent type type of rendering intent when managing the image color intensity method method to generate intensity value from pixel green-primary point chromaticity green primary point gravity type horizontal and vertical text placement fuzz distance colors within this distance are considered equal format "string" output formatted image characteristics filter type use this filter when resizing an image fill color color to use when filling a graphic primitive features distance analyze image features (e.g. contrast, correlation) family name render text with this font family endian type endianness (MSB or LSB) of the image encipher filename convert plain pixels to cipher pixels dither method apply error diffusion to image display server get image or font from this X server direction type render text right-to-left or left-to-right density geometry horizontal and vertical density of the image delay value display the next image after pausing ![]() decipher filename convert cipher pixels to plain pixels compress type type of pixel compression when writing the image compose operator set image composite operator comment string annotate image with comment colorspace type alternate image colorspace ![]() colors value preferred number of colors in the image clip-path id clip along a named path from the 8BIM profile clip-mask filename associate a clip mask with the image clip clip along the first path from the 8BIM profile channel type apply option to select image channels cdl filename color correct with a color decision list caption string assign a caption to an image blue-primary point chromaticity blue primary point bias value add bias when convolving an image attenuate value lessen (or intensify) when adding noise to an image authenticate value decrypt image with this password alpha option activate, deactivate, reset, or set the alpha channel adjoin join images into a single multi-image file 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.įor more information about the convert command, point your browser to file:///usr/share/doc/ImageMagick-6/DESCRIPTION The convert program is a member of the ImageMagick(1) suite of tools. SYNOPSIS convert input-file output-file OVERVIEW Convert - convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |