Author: tack
Date: Tue Apr 25 21:21:49 2006
New Revision: 1499
Modified:
trunk/metadata/src/image/jpginfo.py
Log:
Support comment field in jpeg header
Modified: trunk/metadata/src/image/jpginfo.py
==============================================================================
--- trunk/metadata/src/image/jpginfo.py (original)
+++ trunk/metadata/src/image/jpginfo.py Tue Apr 25 21:21:49 2006
@@ -106,6 +106,8 @@
if data.count('\n') == 1:
key, value = data.split('\n')
self.meta[key] = value
+ elif segtype == 0xfe:
+ self.comment = file.read(seglen-2)
else:
file.seek(seglen-2,1)
app = file.read(4)
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog