Replace rmagick with minimagick
quick_magick is a little bit faster
Applied patch from Matthieu L, supporting Gajim