PHP » GoLang |
login |
register |
about
|
imagerotate(PHP 4 >= 4.3.0, PHP 5, PHP 7) imagerotate — Rotate an image with a given angle Description
resource imagerotate
( resource
$image
, float $angle
, int $bgd_color
[, int $ignore_transparent = 0
] )
Rotates the The center of rotation is the center of the image, and the rotated image may have different dimensions than the original image. Parameters
Return Values
Returns an image resource for the rotated image, or Changelog
Examples
Example #1 Rotate an image 180 degrees This example rotates an image 180 degrees - upside down.
<?php The above example will output something similar to: Notes
|
more
Recently updated
more
Most requested
more
Last requests
|