Fix Problem parsing the JPEG data in Photoshop