imagepalettecopy

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Copy the palette from one image to another void imagepalettecopy ( resource $destination, resource $source ) imagepalettecopy() copies the palette from the source image to the destination image. Parameters: destination The destination image resource. source The source image resource.

imageloadfont

(PHP 4, PHP 5, PHP 7) Load a new font int imageloadfont ( string $file ) imageloadfont() loads a user-defined bitmap and returns its identifier. Parameters: file The font file format is currently binary and architecture dependent. This means you should generate the font files on the same type of CPU as the machine you are running PHP on. Font file format byte position C

imageline

(PHP 4, PHP 5, PHP 7) Draw a line bool imageline ( resource $image, int $x1, int $y1, int $x2, int $y2, int $color ) Draws a line between the two given points. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). x1 x-coordinate for first point. y1

imagelayereffect

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Set the alpha blending flag to use the bundled libgd layering effects bool imagelayereffect ( resource $image, int $effect ) Set the alpha blending flag to use the bundled libgd layering effects. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). effec

imagejpeg

(PHP 4, PHP 5, PHP 7) Output image to browser or file bool imagejpeg ( resource $image [, string $filename [, int $quality ]] ) imagejpeg() creates a JPEG file from the given image. 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

imageistruecolor

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Finds whether an image is a truecolor image bool imageistruecolor ( resource $image ) imageistruecolor() finds whether the image image is a truecolor image. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). Returns: Returns TRUE if the image is tru

imageinterlace

(PHP 4, PHP 5, PHP 7) Enable or disable interlace int imageinterlace ( resource $image [, int $interlace = 0 ] ) imageinterlace() turns the interlace bit on or off. If the interlace bit is set and the image is used as a JPEG image, the image is created as a progressive JPEG. Parameters: image An image resource, returned by one of the image creation functions, such as im

imagegrabwindow

(PHP 5 >= 5.2.2, PHP 7) Captures a window resource imagegrabwindow ( int $window_handle [, int $client_area = 0 ] ) Grabs a window or its client area using a windows handle (HWND property in COM instance) Parameters: window_handle The HWND window ID. client_area Include the client area of the application window.

imagegrabscreen

(PHP 5 >= 5.2.2, PHP 7) Captures the whole screen resource imagegrabscreen ( void ) Grabs a screenshot of the whole screen. Returns: Returns an image resource identifier on success, FALSE on failure. Notes: This function is only available on Windows. Examples: imagegrabscreen() example This

imagegif

(PHP 4, PHP 5, PHP 7) Output image to browser or file bool imagegif ( resource $image [, string $filename ] ) imagegif() creates the GIF file in filename from the image image. The image argument is the return from the imagecreate() or imagecreatefrom* function. The image format will be GIF87a unless the image has been made transparent with imagecolortransparent(), in which case the image format will be GIF89a.