For Programmers: Free Programming Magazines  


Home > Archive > Compression > August 2005 > Bug in EXIF segment, but where?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Bug in EXIF segment, but where?
Paul J. Lucas

2005-08-11, 9:59 pm

I have some code that produces an EXIF metadata segment for a
JPEG file. As far as I can tell, I'm doing everything
correctly, and yet some applications don't display the metadata
that's contained therein. Below is such an EXIF segment:

FF E1 00 F0 45 78 69 66 00 00 4D 4D 00 2A 00 00
00 08 00 04 01 02 00 08 00 00 00 01 00 08 00 00
01 0F 00 02 00 00 00 06 00 00 00 3E 01 3B 00 02
00 00 00 0E 00 00 00 44 87 69 00 09 00 00 00 01
00 00 00 52 00 00 00 00 43 61 6E 6F 6E 00 50 61
75 6C 20 4A 2E 20 4C 75 63 61 73 00 00 0B 88 22
00 08 00 00 00 01 00 04 00 00 92 01 00 0A 00 00
00 01 00 00 00 D8 92 02 00 0A 00 00 00 01 00 00
00 E0 92 09 00 08 00 00 00 01 00 08 00 00 92 0A
00 08 00 00 00 01 00 12 00 00 A0 01 00 08 00 00
00 01 00 01 00 00 A2 0E 00 08 00 00 00 01 03 92
00 00 A2 0F 00 08 00 00 00 01 02 62 00 00 A4 08
00 08 00 00 00 01 00 02 00 00 A4 09 00 08 00 00
00 01 00 01 00 00 A4 0A 00 08 00 00 00 01 00 01
00 00 00 00 00 E0 00 00 00 01 00 00 00 07 00 00
00 02

Where's the bug? Can anybody point it out? Thanks.

- Paul
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com