array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.imageaffine.php', 1 => 'imageaffine', 2 => 'Return an image containing the affine transformed src image, using an optional clipping area', ), 'up' => array ( 0 => 'ref.image.php', 1 => 'GD- und Image-Funktionen', ), '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', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

imageaffine

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

imageaffineReturn an image containing the affine transformed src image, using an optional clipping area

Beschreibung

imageaffine(GdImage $image, array $affine, ?array $clip = null): GdImage|false

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Parameter-Liste

image

Ein GdImage-Objekt, das von einer der Funktionen zur Bilderzeugung, z. B. imagecreatetruecolor(), zurückgegeben wurde.

affine

Array with keys 0 to 5.

clip

Array with keys "x", "y", "width" and "height"; or null.

Rückgabewerte

Return affined image object on successBei einem Fehler wird false zurückgegeben..

Changelog

Version Beschreibung
8.0.0 clip is now nullable.
8.0.0 On success, this function returns a GDImage instance now; previously, a resource was returned.