imagesettile

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Set the tile image for filling bool imagesettile ( resource $image, resource $tile ) imagesettile() sets the tile image to be used by all region filling functions (such as imagefill() and imagefilledpolygon()) when filling with the special color IMG_COLOR_TILED. A tile is an image used to fill an area with a repeated pattern. Any GD image can be used as a tile, and by setting the transpare

imagesetthickness

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Set the thickness for line drawing bool imagesetthickness ( resource $image, int $thickness ) imagesetthickness() sets the thickness of the lines drawn when drawing rectangles, polygons, ellipses etc. etc. to thickness pixels. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor

imagesetstyle

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Set the style for line drawing bool imagesetstyle ( resource $image, array $style ) imagesetstyle() sets the style to be used by all line drawing functions (such as imageline() and imagepolygon()) when drawing with the special color IMG_COLOR_STYLED or lines of images with color IMG_COLOR_STYLEDBRUSHED. Parameters: image An image resource,

imagesetpixel

(PHP 4, PHP 5, PHP 7) Set a single pixel bool imagesetpixel ( resource $image, int $x, int $y, int $color ) imagesetpixel() draws a pixel at the specified coordinate. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). x x-coordinate. y y

imagesetinterpolation

(PHP 5 >= 5.5.0, PHP 7) Set the interpolation method bool imagesetinterpolation ( resource $image [, int $method = IMG_BILINEAR_FIXED ] ) Sets the interpolation method, setting an interpolation method affects the rendering of various functions in GD, such as the imagerotate() function. Parameters: image An image resource, returned by one of the image creation functions

imagesetbrush

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Set the brush image for line drawing bool imagesetbrush ( resource $image, resource $brush ) imagesetbrush() sets the brush image to be used by all line drawing functions (such as imageline() and imagepolygon()) when drawing with the special colors IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED. Parameters: image An image resource, returned

imagescale

(PHP 5 >= 5.5.0, PHP 7) Scale an image using the given new width and height resource imagescale ( resource $image, int $new_width [, int $new_height = -1 [, int $mode = IMG_BILINEAR_FIXED ]] ) imagescale() scales an image using the given interpolation algorithm. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetr

imagesavealpha

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images bool imagesavealpha ( resource $image, bool $saveflag ) imagesavealpha() sets the flag to attempt to save full alpha channel information (as opposed to single-color transparency) when saving PNG images. You have to unset alphablending (imagealphablending($im, false)), to use

imagerotate

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Rotate an image with a given angle resource imagerotate ( resource $image, float $angle, int $bgd_color [, int $ignore_transparent = 0 ] ) Rotates the image image using the given angle in degrees. The center of rotation is the center of the image, and the rotated image may have different dimensions than the original image. Parameters: image

imagerectangle

(PHP 4, PHP 5, PHP 7) Draw a rectangle bool imagerectangle ( resource $image, int $x1, int $y1, int $x2, int $y2, int $color ) imagerectangle() creates a rectangle starting at the specified coordinates. Parameters: image An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(). x1 Upper left x coo