yob/pdf-reader — pull request #95 by mullican (2013-04-25 17:28:47+00:00)
Title: Add a method to infer the orientation of a page

It can be useful to determine whether a PDF page is in portrait or landscape orientation, such as when concatenating multiple documents. This method examines both the dimensions of the page's MediaBox as well as the Rotate property, if specified, and returns the orientation as "portrait" or "landscape."