added ImageMagick support and updated readme.md