ImageSizer::imageIsRotated()
Check orientation (
Usage
// basic usage
$bool = ImageSizer::imageIsRotated(mixed $image);
// usage with all arguments
$bool = ImageSizer::imageIsRotated(mixed $image, mixed $correctionArray = null);Arguments
| Name | Type(s) | Description |
|---|---|---|
$image | mixed | Pageimage or filename |
$correctionArray (optional) | mixed | Null or array by reference |
Return value
bool null
ImageSizer methods and properties
API reference based on ProcessWire core version 3.0.252