prevent `node-netpbm` from crashing on invalid JPEGs
Merge pull request #2 from KATT/master

Prevent `node-netpbm` from crashing on invalid JPEGs