]> git.mxchange.org Git - friendica.git/commit
Use getImageFormat to know the image format in the constructor.
authorDomovoy <domovoy@errlock.org>
Sun, 22 Jul 2012 13:24:41 +0000 (15:24 +0200)
committerDomovoy <domovoy@errlock.org>
Sun, 22 Jul 2012 13:24:41 +0000 (15:24 +0200)
commit689e3028bfc18438ce5681a2b2c92d3f0686b0d9
tree990e273e42a7436bf4fa75562de1f6ae9d3ec8bf
parent0acb983be44dc1ca9431d680e6a7595c73eaf132
Use getImageFormat to know the image format in the constructor.
Since we don't load the image with Imagick constructor, we need to use the [get|set]imageXXX methods.
We should be able to handle the image as if it was loaded from Imagick constructor, so that we don't get lost between the image and its frames.

Also added a debug log so that we get some info on unhandled mime types.
include/Photo.php