Handle ImageMagick errors more gracefully, in particular when Photoshop does not pass a straight number for the DPI
Merge pull request #73 from adobe-photoshop/dk/ppi-workaround

Handle ImageMagick errors more gracefully