imagecreatefromgd2part

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Create a new image from a given part of GD2 file or URL resource imagecreatefromgd2part ( string $filename, int $srcX, int $srcY, int $width, int $height ) Create a new image from a given part of GD2 file or URL. TipA URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename. See the Supported Proto

imagecreatefromgd2

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Create a new image from GD2 file or URL resource imagecreatefromgd2 ( string $filename ) Create a new image from GD2 file or URL. TipA URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename. See the Supported Protocols and Wrappers for links to information about what abilities the various wrapper

imagecreate

(PHP 4, PHP 5, PHP 7) Create a new palette based image resource imagecreate ( int $width, int $height ) imagecreate() returns an image identifier representing a blank image of specified size. In general, we recommend the use of imagecreatetruecolor() instead of imagecreate() so that image processing occurs on the highest quality image possible. If you want to output a palette image, then imagetruecolortopalette() should be

imagecopyresized

(PHP 4, PHP 5, PHP 7) Copy and resize part of an image bool imagecopyresized ( resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h ) imagecopyresized() copies a rectangular portion of one image to another image. dst_image is the destination image, src_image is the source image identifier. In other words, imagecopyresized() will take a rect

imagecopyresampled

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Copy and resize part of an image with resampling bool imagecopyresampled ( resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h ) imagecopyresampled() copies a rectangular portion of one image to another image, smoothly interpolating pixel values so that, in particular, reducing the size of an image still ret

imagecopymergegray

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Copy and merge part of an image with gray scale bool imagecopymergegray ( resource $dst_im, resource $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h, int $pct ) imagecopymergegray() copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordin

imagecopymerge

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Copy and merge part of an image bool imagecopymerge ( resource $dst_im, resource $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h, int $pct ) Copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordinates, dst_x and dst_y. P

imagecopy

(PHP 4, PHP 5, PHP 7) Copy part of an image bool imagecopy ( resource $dst_im, resource $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h ) Copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordinates, dst_x and dst_y. Parameters: ds

imageconvolution

(PHP 5 >= 5.1.0, PHP 7) Apply a 3x3 convolution matrix, using coefficient and offset bool imageconvolution ( resource $image, array $matrix, float $div, float $offset ) Applies a convolution matrix on the image, using the given coefficient and offset. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

imagecolortransparent

(PHP 4, PHP 5, PHP 7) Define a color as transparent int imagecolortransparent ( resource $image [, int $color ] ) Sets the transparent color in the given image. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). color A color identifier created with imagecolorallocate().