array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.imageaffine.php', 1 => 'imageaffine', ), 'up' => array ( 0 => 'ref.image.php', 1 => 'GD and Image Functions', ), 'prev' => array ( 0 => 'function.image2wbmp.php', 1 => 'image2wbmp', ), 'next' => array ( 0 => 'function.imageaffinematrixconcat.php', 1 => 'imageaffinematrixconcat', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/image/functions/imageaffine.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
imageaffine — Return an image containing the affine transformed src image, using an optional clipping area
This function is currently not documented; only its argument list is available.
image
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor().
affine
Array with keys 0 to 5.
clip
Array with keys "x", "y", "width" and "height"; or null
.
Return affined image object on success or false
on failure.