|
[C#]XImageLoadOptions
loadOptions = new XImageLoadOptions();
loadOptions.ReadIPTC = true;
XImage image = XImage.FromFile(Server.MapPath("rez/iptc.tif"),
loadOptions);
if (image.IPTC != null) {
Response.Write(image.IPTC.Values("Keyword", ","));
}
[Visual Basic]Dim
loadOptions As New XImageLoadOptions()
loadOptions.ReadIPTC = True
Dim image As XImage =
XImage.FromFile(Server.MapPath("rez/iptc.tif"), loadOptions)
If image.IPTC IsNot Nothing Then
Response.Write(image.IPTC.Values("Keyword", ","))
End If
This example writes the keywords from a TIFF file in comma
delimited format.
|