PHP imageaffine - Return the Image After Affine Transformation
imageaffine — Returns the image after affine transformation, with optional clipping region.
Syntax
resource imageaffine ( resource $image , array $affine [, array $clip ] )
Parameters
- ** image** The image resource returned by an image creation function (e.g., imagecreatetruecolor()).
- ** affine** An array where the keys are numbers from 0 to 5.
- ** clip** An array where the keys are "x", "y", "width", and "height".
Return Value
On success it returns the affine-transformed image, or FALSE on failure.
PHP Image Processing