Latest web development tutorials

PHP imageaffine - returned after the image after affine transformation

PHP Image Processing PHP Image Processing

imageaffine - returned after the image, cropping region after affine transformation is optional.

grammar

resource imageaffine ( resource $image , array $affine [, array $clip ] )

parameter

  • image created by the image function (for example imagecreatetruecolor ()) returns an image resource.
  • affine array, where the key figures of 0-5.
  • clip array, where the key is "x", "y", "width" and "height".

return value

Successful image after affine transformation returns, or on failure returns FALSE.

PHP Image Processing PHP Image Processing