IPTC Headers in Photos

kee nethery kee at kagi.com
Fri Dec 13 01:43:03 EST 2002


On Thursday, December 12, 2002, at 07:35 PM, Sannyasin Sivakatirswami 
wrote:

> If any super brain has the time or inclination to figure this out it 
> would be very useful.  Parse and poke the IPTC data in headers for 
> photos... Scott Raney says:
>
> "I'll add it to the feature-request list, but it should be
> straightforward to write a script to do this.  Just open the file for
> binary read, read the header, and then decode it.  You'll probably
> need to use the binaryDecode function to convert the bits and bytes in
> the header to a form you can use.  It's not hard to do, but can be
> tedious and you really need to know your way around a binary file
> editor/viewer so that you can check your script to make sure it's
> dealing with the right data as it parses through the header.
>   Regards,
>     Scott"

Been a while since I've played with this but I seem to recall that TIFF 
images have text in them. Open as a text file and read.
Kee Nethery




More information about the Use-livecode mailing list