Added ImageMagick support