Subject: | Not matching some types of JPEG files |
This image is not recogniezed by GD
I looked GD::Image sub _image_type
it checks type by magic first 4 symbols
return 'Jpeg' if $magic eq "\377\330\377\340";
return 'Jpeg' if $magic eq "\377\330\377\341";
return 'Jpeg' if $magic eq "\377\330\377\355";
return 'Jpeg' if $magic eq "\377\330\377\356";
I have such image (attached), it is made by Panasonic photocam and it
have such starting symbols
377 330 377 376
As you see it is not in a list, but it is a valid image.
Subject: | p1030030.jpg |