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.
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.

friendica/friendica,annando/friendica,tobiasd/friendica,dissolve/friendica,23n/friendica,annando/friendica,tobiasd/friendica,tugelbend/friendica,tugelbend/friendica,annando/friendica,fermionic/friendica,cutec-chris/friendica,unary/prate.io,tobiasd/friendica,fabrixxm/friendica,cutec-chris/friendica,fermionic/friendica,annando/friendica,fabrixxm/friendica,strk/friendica,friendica/friendica,23n/friendica,dissolve/friendica,unary/prate.io,tugelbend/friendica,tugelbend/friendica,tugelbend/friendica,friendica/friendica,friendica/friendica,fabrixxm/friendica,friendica/friendica,unary/prate.io,strk/friendica,dissolve/friendica,23n/friendica,dissolve/friendica,tobiasd/friendica,fermionic/friendica,tobiasd/friendica,fabrixxm/friendica,fermionic/friendica,strk/friendica,23n/friendica,annando/friendica,strk/friendica,cutec-chris/friendica,strk/friendica,cutec-chris/friendica,dissolve/friendica,fabrixxm/friendica