Use ImageMagick rather than Java ImageIO for wider compatibility: handle TIF detect