direction NorthWest|North|NorthEast|West|Center|East|SouthWest|South|SouthEast gm("img.png").gravity(direction) The direction the primitive gravitates to when annotating the image. greenPrimary gm("img.png").greenPrimary(x, y).geometry gm("img.png").geometry(width, height ).gaussian gm("img.png").gaussian(radius ).fuzz gm("img.png").fuzz(distance )Īdjusts the level of gamma correction.frame gm("img.png").frame(width, height, outerBevelWidth, innerBevelWidth).foreground gm("img.png").foreground(color).gm("img.png").flip()Ĭreates a mirror image (horizontally). gm("img.png").filter(type)Ĭreates a mirror image (vertically). Specifies the filter to use when resizing. gm("img.png").equalize()Ĭomposite image on background color canvas image. Performs histogram equalization to the image. endian type MSB, LSB, or Native gm("img.png").endian(type)Įnhances the image.encoding type AdobeCustom, AdobeExpert, AdobeStandard, AppleRoman, BIG5, GB2312, Latin 2, None, SJIScode, Symbol, Unicode, Wansung gm("img.png").encoding(type).Takes an optional radius of the emphasis to apply. gm("img.png").dither()Įmphasizes edges in an image. monochrome() must be used for this to take effect. dissolve gm("img.png").dissolve(method)Īpplies Floyd/Steinberg error diffusion to the image.gm("img.png").displace(horizontal, vertical) Shift image pixels as defined by a displacement map. This option specifies the image resolution to store while encoding a raster image or the canvas resolution while rendering (reading) vector formats into an image. deconstruct gm("img.png").deconstruct().amount is the number of positions each colormap entry is shifted. gm("img.png").crop(width, height, x, y)ĭisplace the image colormap by amount. createDirectories gm("img.png").createDirectories()Ĭrops the image to the given width and height at the given x and y position.convolve gm("img.png").convolve(kernel).compress type None, BZip, Fax, Group4, JPEG, Lossless, LZW, RLE, Zip, or LZMA gm("img.png").compress(type)Īnnotates an image.See the GraphicsMagickĭocs for val details. Sets the preferred number of colors for the image (color reduction).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |