A regression from 06df75ffee causes this parsing to fail depending on how the image was compressed.
06df75ffee