[bool$ignore_transparent = false]
Rotates the image image using the given angle in degrees.
The center of rotation is the center of the image, and the rotated image may have different dimensions than the original image.
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor.
Rotation angle, in degrees. The rotation angle is interpreted as the number of degrees to rotate the image anticlockwise.
Specifies the color of the uncovered zone after the rotation
This parameter is unused.
Returns an image object for the rotated image, or false on failure.
This function is affected by the interpolation method set by imagesetinterpolation.
|8.0.0||On success, this function returns a GDImage instance now; previously, a resource was returned.|
|8.0.0||image expects a GdImage instance now; previously, a resource was expected.|
|8.0.0||The unused ignore_transparent expects a bool now; previously it expected an int.|