Neos.Media/Classes/Domain/Model/DimensionsTrait.php
public function getOrientation()
    {
        $aspectRatio = $this->getAspectRatio(true);
        if ($aspectRatio > 1) {
            return ImageInterface::ORIENTATION_LANDSCAPE;
        } elseif ($aspectRatio < 1) {
            return ImageInterface::ORIENTATION_PORTRAIT;
        } else {
            return ImageInterface::ORIENTATION_SQUARE;
        }
    }
public function getOrientation()
    {
        $aspectRatio = $this->getAspectRatio(true);
        if ($aspectRatio > 1) {
            return ImageInterface::ORIENTATION_LANDSCAPE;
        } elseif ($aspectRatio < 1) {
            return ImageInterface::ORIENTATION_PORTRAIT;
        } else {
            return ImageInterface::ORIENTATION_SQUARE;
        }
    }
public function getOrientation ( ) { $ aspectRatio = $ this -> getAspectRatio ( true ) ; if ( $ aspectRatio > 1 ) { return ImageInterface :: ORIENTATION_LANDSCAPE ; } elseif ( $ aspectRatio < 1 ) { return ImageInterface :: ORIENTATION_PORTRAIT ; } else { return ImageInterface :: ORIENTATION_SQUARE ; } }
Orientation of this image, i.e. portrait, landscape or square

@return string One of this interface's ORIENTATION_* constants.
Orientation of this image i . e . portrait landscape or square