Fix Imagemagick support for rsvg, add support for webp

* fixes support for librsvg
* added support for webp