owncloud/core — pull request #12398 by oparoz (2014-11-24 16:32:59+00:00)
Title: You can only change the oritentation of a JPEG

TIFFs also have EXIF headers, but they're not supported by the Image class

PHP doc
http://php.net/manual/en/function.exif-read-data.php