Move getRotation and getImageArea to the base class
commit1aea0ce29ea898b536bb1fe03fa65081ae998f54
authorBrian Wolff <bawolff+wn@gmail.com>
Sun, 29 Sep 2013 02:12:58 +0000 (28 23:12 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Sun, 29 Sep 2013 04:31:56 +0000 (29 01:31 -0300)
tree06ba5c343c3f95bb10822be15358a75a18c4a844
parent217fd4345ada3f9899406bf352219bb795876706
Move getRotation and getImageArea to the base class

This way we know we can always safely call getRotation on any image.

In particular, PagedTiffHandler doesn't extend BitmapHandler, and I
want to make VipsScaler work with PagedTiffHandler, and it calls
getRotation.

Change-Id: I63f2be2a6f31398918b8562e15343f8a839d91c1
includes/media/Bitmap.php
includes/media/ImageHandler.php
includes/media/MediaHandler.php