The part of the source lying inside of the destination replaces the destination. The destination is composited over the source and the result replaces the destination. The source is composited over the destination. Neither the source nor the destination are used as input. The following composite methods are available: Methodīoth the color and the alpha of the destination are cleared. While it is convenient to describe the operators in terms of "shapes" they are by no means limited to mask-style operations since they are based on continuous floating-point mathematics rather than simple boolean operations. The description of the composition operators use this concept of image "shape" in order to make the description of the operators easier to understand. Pixels on the boundary of the shape may be between opaque and transparent in order to provide antialiasing (visually smooth edges). Pixels within the shape are opaque, while pixels outside the shape are transparent. By treating the alpha channel as a visual "mask" the rectangular image may be given a "shape" by treating the alpha channel as a cookie-cutter for the image. All image rows are of equal length, and all image columns have the same number of rows. The color of an opaque pixel is fully visible while the color of a transparent pixel color is entirely absent (pixel color is ignored).īy definition, raster images have a rectangular shape. If the image matte channel is disabled, then all pixels in the image are treated as opaque. Each image pixel may also optionally (if the image matte channel is enabled) have an associated level of opacity (ranging from opaque to transparent), which may be used to determine the influence of the pixel color when compositing the pixel with another image pixel. QuantumRange is the maximum integral value which may be stored in the red, green, or blue channels of the image. Each image pixel is represented by red, green, and blue levels (which are equal for a gray pixel). The description of composition uses abstract terminology in order to allow the description to be more clear, while avoiding constant values which are specific to a particular build configuration. Special " -alpha set" operation can be used Original image will require a copy of that grayscale to be transfered into itsĪlpha channel before applying the -clut operator. As such correct alpha channel lookup for a pure gray-scale Will lookup the replacement alpha/matte value using the alpha/matte value of Note that color replacements involving transparency (alpha/matte channel) Specific color gradient from the CLUT image. This operator is especially suited to replacing a grayscale image with Interpolation setting for a smooth color gradient, or ' integer'įor a direct unsmoothed lookup of color values.Īlso only the channel values defined by the -channel Good setingsįor this is the default ' bilinear' or ' bicubic' Not the full length needed by the ImageMagick installed Quailty (Q) level. The lookup is controled by the -interpolate setting, especially for an LUT which is The LUT image should be either a single row or column image of replacementĬolors. Lookup of its replacement value in second LUT gradient image. Given two images, replace the channel values in the first image, with a Operators that are affected by the "-channel Using the option "+channel will reset the value back to this default. ' RGB' to limit channel affected operators to all channels, except ' K', to specify specific multiple channels for later operators to beįor example to only negate the alpha channel of an image, useīy default, ImageMagick sets "-channel to the value You can specify the above as a comma separated list of channels, orĬoncatenate the letters ' R', ' G', ' B', Rotation clockwise about the origin by an angle a is accomplished with the matrix:Ī series of operations can be accomplished by using a matrix that is the multiple of the matrices for each operation.ĭefine the image color channels later operators may be limited to.Ĭhoose from: Red, Green, Blue, Alpha, Cyan, Magenta, Yellow, Black, Opacity, Index, RGB, RGBA, CMYK, or CMYKA.Īrgument for a list of -channel types available in your ImageMagick installation. This option provides a transformation matrix is accomplished with the matrix: If you want a description of a particular option, click on the option name in the navigation bar above and you will go right to it. Skip to page contents īelow is list of command-line options recognized by the ImageMagick command-line tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |