Method |
Description |
|
getAspectRatio ( boolean $respectOrientation = false ) : float |
Edge / aspect ratio of the image |
|
getHeight ( ) : integer |
Height of the image in pixels |
|
getOrientation ( ) : string |
Orientation of this image, i.e. portrait, landscape or square |
|
getWidth ( ) : integer |
Width of the image in pixels |
|
isOrientationLandscape ( ) : boolean |
Whether this image is in landscape orientation |
|
isOrientationPortrait ( ) : boolean |
Whether this image is in portrait orientation |
|
isOrientationSquare ( ) : boolean |
Whether this image is square aspect ratio and therefore has a square orientation |
|