Hello! Just wondering are we still expecting the new version before Christmas? Or before the new year?
Merry Christmas and happy holidays! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Geisler Sent: Tuesday, November 29, 2005 3:49 PM To: pel-devel@lists.sourceforge.net Subject: Re: How to get an array of EXIF TAGS? "Tech Support" <[EMAIL PROTECTED]> writes: Hi Tech Support :-) > I just tried the script > > $data = new PelDataWindow(file_get_contents($filename)); > > [...] > > $text = $entry->getText(); > > This is good, but how can I get an array that includes tag => text > > What I need is every tag with corresponding text value for the > $filename to be returned. > > Is it possible? How? Yes, it's possible, but you'll have to do it yourself. PEL gives you the tools you need to extract (and change) Exif data. Putting the tools together are mostly left as an exercise for the reader, as they say :-) Sorry, enough nonsense --- your script is below. Adjust the first line if you use it from the command line. You'll see that it's just a matter of recursing through the structure of the Exif data. Beware that not all tags are unique and that tags might appear twice (and thus the second occurance will overwrite the first). The GPS tags overlap with some other tags, which is why you'll find them commented out in PelTag.php in PEL 0.8. In the CVS version I've changed some things so that entries are identified with both the type of IFD and the tag, but the code below is for PEL 0.8. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ PEL-devel mailing list PEL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pel-devel