check for ImageMagick and fail gracefully