On Thu Jun 29 04:59:41 2006, guest wrote:
Show quoted text> In some seldom cases JPEG Images with additional Camera- Info's cause
> the following problem:
[snip]
Show quoted text> For me and other Imageprocessing software the JPEG- file looks ok.
> It starts with FFD8 ....
>
> hexdump Desktop/Bilder/filetype_SLK_1a.JPG | head -1
> 0000000 d8ff e0ff 1000 464a 4649 0100 0101 6000
>
> Can you have a look. what's going wrong.
>
> I did attach a sample image.
> I have here Ubuntu Linux 5.04. In Production we have Debian Sarge.
>
I had a look, and the expected marker seems to be missing in the middle
of file. Wether this is a problem with the file, or with the code, I
cannot tell. My knowledge of JPEG internals is very limited - sorry!
At least now I patched the error message so that it will tell you at
which offset that happens, for your file it is
# perl t.pl ../test-images/crash_20183.jpeg
Can’t parse image info: SOI missing in JPEG file at offset 7465 at
lib/Image/Info/JPEG.pm line 91.
best wishes,
Tels