MCPcopy
hub / github.com/gographics/imagick / BorderImage

Method BorderImage

imagick/magick_wand_image.go:239–242  ·  view source on GitHub ↗

Surrounds the image with a border of the color defined by the bordercolor pixel wand.

(borderColor *PixelWand, width, height uint)

Source from the content-addressed store, hash-verified

237// Surrounds the image with a border of the color defined by the bordercolor
238// pixel wand.
239func (mw *MagickWand) BorderImage(borderColor *PixelWand, width, height uint) error {
240 C.MagickBorderImage(mw.mw, borderColor.pw, C.size_t(width), C.size_t(height))
241 return mw.GetLastError()
242}
243
244// Use this to change the brightness and/or contrast of an image. It converts
245// the brightness and contrast.

Callers 6

mainFunction · 0.95
textEffect2Function · 0.95
textEffect3Function · 0.95
textEffect5And6Function · 0.95
textEffect7Function · 0.95
textEffect8Function · 0.95

Calls 1

GetLastErrorMethod · 0.95

Tested by

no test coverage detected