fixed reading jpegs with extraneous bytes, test2.jpg as an example
v1.3.1