[Bug 223752] New: libexif: Wrong Exposure Time with canon jpegs
https://bugzilla.novell.com/show_bug.cgi?id=223752 Summary: libexif: Wrong Exposure Time with canon jpegs Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: meissner@novell.com ReportedBy: kukuk@novell.com QAContact: qa@suse.de libexif reports a wrong exposure time (-1 second). For example for ~kukuk/Export/20061125141939-00.jpg it reports 1/39 sec., while all other tools report 1/40 sec. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223752#c1 Thorsten Kukuk <kukuk@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|libexif: Wrong Exposure Time with canon jpegs |libexif: Wrong Exposure Time with jpegs --- Comment #1 from Thorsten Kukuk <kukuk@novell.com> 2007-09-09 07:01:21 MST --- It's wrong with all of my cameras (not only Canon), and this is the fix for it (that's how all other projects calculate the value): --- libexif-0.6.16/libexif/exif-entry.c 2007-05-23 16:06:37.000000000 +0200 +++ libexif-0.6.16-tk/libexif/exif-entry.c 2007-09-09 14:50:23.000000000 +0200 @@ -774,7 +774,7 @@ d = (double) v_rat.numerator / (double) v_rat.denominator; if (d < 1) snprintf (val, maxlen, _("1/%d"), - (int) (1. / d)); + (int) (0.5 + 1. / d)); else snprintf (val, maxlen, _("%d"), (int) d); if (maxlen > strlen (val) + strlen (_(" sec."))) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223752 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=223752#c2 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Marcus Meissner <meissner@novell.com> 2008-01-09 06:19:57 MST --- I committed your patch to libexif mainline CVS. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com