From: Dick Davies Date: 2004-04-28T19:11:34+09:00 Subject: Re: Modifying metadata in an image file ... * Michael Neumann [0405 22:05]: > On Wed, Apr 28, 2004 at 04:39:04AM +0900, Useko Netsumi wrote: > > "Michael Neumann" wrote in message > > news:20040427182717.GA1345@miya.intranet.ntecs.de... > > > On Wed, Apr 28, 2004 at 03:14:04AM +0900, Useko Netsumi wrote: > > > > Does anyone aware of any program/apps/scripts that has the ability to > > > > modify/add/create/delete metadata in any image type such as JPEG, GIF, > > PNG, > > > > etc. > > > > > > For PNG this would be quite simple as it supports text chunks with > > > keywords. Coincidentally I wrote a simple PNG writer in pure Ruby a few > > > days ago :-) > > > > > > Regards, > > > > > > Michael > > > > > > > > > > That's great! Would you extend your script to include other format such as > > JPEG, GIF, etc? Thanks > > No, sorry :-) > > But it shouldn't be that hard to write a method whose only purpose is to > modify the text information. But I am not familiar with the JPEG and GIF > data format and don't have the time to investigate. Does the OP mean EXIF data - I think that's what the JPEG metadata is held as? There's a libexif C library- maybe try hooking ruby/dl up to it? (I discovered ruby-dl last week and am bowled over at how useful it is to folks like me who are allergic to raw C code). Atchoo. -- It is easier for a camel to pass through the eye of a needle if it is lightly greased. -- Kehlog Albran, "The Profit" Rasputin :: Jack of All Trades - Master of Nuns