fix #610
Merge pull request #840 from foxling/master

fix #610 display progressive jpeg issue