Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 51229
Status: resolved
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: fuksito [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Not matching some types of JPEG files
Download (untitled) / with headers
text/plain 485b
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
Download p1030030.jpg
image/jpeg 1.6m
p1030030.jpg
Download (untitled) / with headers
text/plain 147b
On Mon Nov 09 08:59:06 2009, http://vitalik.com.ua/ wrote: Show quoted text
> I looked GD::Image sub _image_type
_image_type was fixed to detect all Jpeg images.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.