Use ImageMagick rather than Java ImageIO for wider compatibility