class PDF::Reader::OrientationDetector

Small util class for detecting the orientation of a single PDF page. Accounts for any page rotation that is in place.

OrientationDetector.new(:MediaBox => [0,0,612,792]).orientation
=> "portrait"