Type   Default Value   Read Only   Description
Collection N/A Yes An object containing a collection of IPTC Items.

 

   
Notes
 
     

Some file formats support embedded metadata, the kind of textual information you can alter using the Adobe Photoshop 'File Info...' command.

IIf the ReadIPTC property is set to true the file or data that you supply to the graphic object will be scanned for IPTC-NAA metadata. This means you can extract embedded copyright, caption and other information from images.

 

   
See Also
 
     

ReadIPTC property.

 

   
Example
 
     

This property holds a collection of all the IPTC elements that were found. So if you want to write them out you might use the following code:

[VBScript]
Set gr = Server.CreateObject("ImageGlue7.Graphic")
gr.ReadIPTC = True
gr.SetFile(Server.MapPath("iptc_info.tif"))
For Each ip In gr.IPTC
  Response.Write("Record = " & ip.Record& "<br>")
  Response.Write("DataSet = " & ip.DataSet& "<br>")
  Response.Write("Name = " & ip.Name & "<br>")
  Response.Write("Text = " & ip.Text & "<br>")
Next

This might produce the following output:

Record = 2
DataSet = 0
Name =
Text =
Record = 2
DataSet = 120
Name = Caption
Text = Boats in the harbour
Record = 2
DataSet = 80
Name = Byline
Text = Chris Wyatt
Record = 2
DataSet = 25
Name = Keyword
Text = boat
Record = 2
DataSet = 25
Name = Keyword
Text = sea
Record = 2
DataSet = 25
Name = Keyword
Text = sailing
Record = 2
DataSet = 116
Name = Copyright String
Text = Chris Wyatt 2001