#29 added parsing of incorrect spec jpeg images