friendica/friendica — pull request #465 by CyberDomovoy (2012-09-12 09:59:25+00:00)
Title: Fallback to gd if Imagick can't load the data

Without that, we would only raise an exception if the data is in a format Imagick can't load.
I'm not sure gd could load anything that Imagick can't, but it's worth a try.