support compare for ImageMagick