Thanx for that that gave me the lead i needed.

I did some hunting around and found the following command: 

        convert my.jpg IPTCTEXT:iptcdata.txt

This will give me a very small text document with the IPTC data in it. 

Here is a sample of the output: 

2#0="�"
2#120#Caption="KY1007 Trench 1. General view with column base after excavation. 
Looking S. "
2#80#Byline="USCAP"
2#25#Keyword="030905"
2#25#Keyword="KY1007 Trench 1"
2#25#Keyword="General view"
2#25#Keyword="Column base"
2#116#Copyright String="USCAP"

>From here its nice and easy. 

Regards,

-=Tristan 



On Fri, 2006-05-05 at 10:09 +0100, Dermot Paikkos wrote:
> On 5 May 2006 at 15:00, Tristan Gutsche wrote:
> 
> > Hello all,
> > 
> > I just has a query about automatically extracting IPCT data from files
> > where staff have added metadata in photoshop. Using identify -verbose
> > i can see the data that has been added. 
> > 
> > I need to know; is there any options that i can use that specifically
> > targets IPCT data? 
> 
> Hi,
> 
> You want to read the IPTC data?
> 
> >From the docs:
> 
> "convert cockatoo.jpg exifdata.app1"
> 
> Will give you a file with the exif data, ditto 
> 
> "convert cockatoo.jpg data.iptc"
> 
> will give you a file (data.iptc) with the iptc data in. However the 
> data isn't really plain text and you might have to do some more work 
> to get the data you want from it. 
> 
> Good luck.
> Dp.
> 
-- 
Tristan Gutsche
Digital Repository Web Developer
Phone: (02) 9351 6686
- http://acl.arts.usyd.edu.au/tmwiki/index.php/User:Beriah

Project: iSpheres
- http://www.ispheres.org
- http://acl.arts.usyd.edu.au/tmwiki/index.php/User:ISpheres







_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to