_rotate_image_resource


_rotate_image_resource ( $img, $angle )

Parameters:
  • (resource) $img Image resource.
  • (float|int) $angle Image rotation angle, in degrees.
See:
  • WP_Image_Editor::rotate()
Returns:
  • (resource|false) GD image resource, false otherwise.
Defined at:

Description

Returns an image resource. Internal use only.

Related Functions

_crop_image_resource, _flip_image_resource, wp_calculate_image_srcset, remove_image_size, wp_get_attachment_image_srcset

Top Google Results

User discussions

wpseek mobile