imagegd

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Output GD image to browser or file bool imagegd ( resource $image [, string $filename ] ) Outputs a GD image to the given filename. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). filename The path to save the file to. If not set or NULL

imagegd2

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Output GD2 image to browser or file bool imagegd2 ( resource $image [, string $filename [, int $chunk_size [, int $type = IMG_GD2_RAW ]]] ) Outputs a GD2 image to the given filename. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). filename

imagegammacorrect

(PHP 4, PHP 5, PHP 7) Apply a gamma correction to a GD image bool imagegammacorrect ( resource $image, float $inputgamma, float $outputgamma ) Applies gamma correction to the given gd image given an input and an output gamma. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). inputgamm

imagefttext

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Write text to the image using fonts using FreeType 2 array imagefttext ( resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text [, array $extrainfo ] ) Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). siz

imageftbbox

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Give the bounding box of a text using fonts via freetype2 array imageftbbox ( float $size, float $angle, string $fontfile, string $text [, array $extrainfo ] ) This function calculates and returns the bounding box in pixels for a FreeType text. Parameters: size The font size. Depending on your version of GD, this should be specified as the

imagefontwidth

(PHP 4, PHP 5, PHP 7) Get font width int imagefontwidth ( int $font ) Returns the pixel width of a character in font. Parameters: font Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with imageloadfont(). Returns: Returns the pixel width

imagefontheight

(PHP 4, PHP 5, PHP 7) Get font height int imagefontheight ( int $font ) Returns the pixel height of a character in the specified font. Parameters: font Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with imageloadfont(). Returns: Returns

imageflip

(PHP 5 >= 5.5.0, PHP 7) Flips an image using a given mode bool imageflip ( resource $image, int $mode ) Flips the image image using the given mode. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). mode Flip mode, this can be one of the IMG_FLIP_* constants: Constant

imagefilter

(PHP 5, PHP 7) Applies a filter to an image bool imagefilter ( resource $image, int $filtertype [, int $arg1 [, int $arg2 [, int $arg3 [, int $arg4 ]]]] ) imagefilter() applies the given filter filtertype on the image. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). filtertype

imagefilltoborder

(PHP 4, PHP 5, PHP 7) Flood fill to specific color bool imagefilltoborder ( resource $image, int $x, int $y, int $border, int $color ) imagefilltoborder() performs a flood fill whose border color is defined by border. The starting point for the fill is x, y (top left is 0, 0) and the region is filled with color color. Parameters: image An image resource, returned by one of