ImageSizer::imageIsRotated() method

Check orientation (

Usage

// basic usage
$bool = ImageSizer::imageIsRotated(mixed $image);

// usage with all arguments
$bool = ImageSizer::imageIsRotated(mixed $image, mixed $correctionArray = null);

Arguments

NameType(s)Description
imagemixed

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.244

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits