![]() ![]() 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.compose gm("img.png").compose(operator).See the GraphicsMagickĭocs for val details. Sets the preferred number of colors for the image (color reduction). colorMap type shared or private gm("img.png").colorMap(type).gm("img.png").chop(width, height, x, y)Ĭolorize the image with optionally separate red, green, and blue values. Removes pixels from the interior of an image. channel type Red, Green, Blue, Opacity, Matte, Cyan, Magenta, Yellow, Black, or Gray gm("img.png").channel(type).borderColor gm("img.png").borderColor(color).border gm("img.png").border(width, height).bluePrimary gm("img.png").bluePrimary(x, x)Īccepts a radius and optional sigma (standard deviation). ![]() Specifies the number of bits of color to preserve in the image. GraphicsMagick doesn't actually have the -auto-orient option but we emulate this by first reading the EXIF data and rotate/flip from there. authenticate gm("img.png").authenticate(password)Īuto-orients the image according to its EXIF data.Gm("img.png").append("another.jpg", "third.gif", true) appends third.gif to the right of another.jpg to the right to img.png Gm("img.png").append("another.jpg", "third.gif") Gm("img.png").append("another.jpg").append("third.gif") appends third.gif below another.jpg below img.png appends another.jpg to img.png from top-to-bottom Gm("img.png").append("another.jpg", true) Gm("img.png").append("another.jpg").append(true) appends another.jpg to img.png from left-to-right gm("img.png").antialias(false)Īppend a set of images img the path to another img ltr (optional) Boolean - specifies append directionįalse for top-to-bottom (default) gm("img.png").append(img ) By default all imgs are anti-aliased by GraphicsMagick. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |