From: Chris S. <chr...@ya...> - 2003-06-15 22:24:37
|
> Before you give up, do the comments appear in IDS at > all? With the > photo's I have, IDS shows image type, size, make, > model and other > details. This is shown as uneditable info. From what > I understood of > your request is that you wanted this in the comments > field instead. > > Oh, wait, I see what you mean now, your saying the > EXIF also allows > comments and titles as additional info. This may be > a image info bug if > you are not able to get data for those fields. Yes, you're right - there appears to be a bug in Image::Info. EXIF has a Comment field. There is also another non-EXIF field named JPEG-Comment which is part of the JPEG/JFIF specification. Image::Info apparently has a bug that prevents it from accessing either of these fields. In IDS 0.82, you make reference to the Comment field on line 696 of /ids/index.cgi and attempt to merge it with the contents of the text comments saved by IDS. However, since Image::Info always returns null for Comment, the IDS code on line 696 doesn't do anything. There is other useful JPEG info such as Title, Keywords, Caption, Categories stored in the IPTC metadata. See http://multipart-mixed.com/photo/iptc.html for a perl script that extracts IPTC data. Chris __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |