PHP 8.5.0 Alpha 2 available for testing

Gmagick::borderimage

(PECL gmagick >= Unknown)

Gmagick::borderimageSurrounds the image with a border

Description

public Gmagick::borderimage(GmagickPixel $color, int $width, int $height): Gmagick

Surrounds the image with a border of the color defined by the bordercolor GmagickPixel object or a color string.

Parameters

color

GmagickPixel object or a string containing the border color.

width

Border width.

height

Border height.

Return Values

The Gmagick object with border defined.

Errors/Exceptions

Throws an GmagickException on error.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant