Tk Library Source Code

View Ticket
Login
Ticket UUID: 2694992
Title: exif reports "Unrecognized EXIF Tag"
Type: Bug Version: None
Submitter: stwitt Created on: 2009-03-19 17:26:41
Subsystem: exif Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-03-20 03:20:44
Resolution: Wont Fix Closed By: andreas_kupries
    Closed on: 2009-03-19 20:20:44
Description:
Hi!

My e-mail is
mailto:[email protected]

I am currently using your EXIF package to scan fotos for creation dates. In some fotos obviously originating from some Olympus camera, the EXIF package reports an error.
See command sequence below:

% set f [lindex $fl 17]
p4190019.jpg
% package require exif
1.1.2
% exif::analyzeFile $f
Unrecognized EXIF Tag: 34850 (0x8822)
% set h [open $f r]
file5
% exif::analyze -sadads $h
can not find channel named "-sadads"
% exif::analyze $h
Unrecognized EXIF Tag: 34850 (0x8822)

Target system is a laptop running Fedora 9,
tcl_version 8.5, wish as executable & the latest yum-available tcllib.

In my opinion, you might either want to
 - silently ignore unkonwn tags and just return the   known ones with associated values

-introduce a -nocomplain flag upon which exif::analyze shows the a.m. behavior


If you wouldn't mind sharing your thoughts with me - great! I might even spare some time in the near future to help you look into the source & find a fix.

SourceForge bounced this request in the first place when I tried to include the foto causing the trouble (for size reasons, sure). Well, I'd e-mail the foto to you if you'd just drop me a mail.

Best regards,

Stefan Witt
User Comments: andreas_kupries added on 2009-03-20 03:20:44:

allow_comments - 1

andreas_kupries added on 2009-03-20 03:20:43:
Ok. I will then assign this to me and close as won't fix.

Fact is, the 'exif' package has already been put on life-support, is being phased out.
The next release of Tcllib will not install it by default (It can still be forced to be installed).
And some time after that we will drop it entirely.

stwitt added on 2009-03-20 03:12:27:
Hello Andreas!

The jpeg package works just fine on this foto,
I got the EXIF info I wanted,

That was a very helpful comment, thanks a lot!

Best regards,

Stefan

andreas_kupries added on 2009-03-20 01:39:00:
Hi Stefan.
Thank you for your report.
Please note that the "jpeg" package in Tcllib has exif functionality as well.
Can you check if that also fails on your image ?