Click or drag to resize

IptcParser Class

Parses IPTC data from JPEG or TIFF images into a collection of IPTC tags.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.MetadataIptcParser
    Atalasoft.Imaging.Codec.Jpeg2000Jp2IptcParser

Namespace:  Atalasoft.Imaging.Metadata
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class IptcParser

The IptcParser type exposes the following members.

Constructors
  NameDescription
Public methodIptcParser
Initializes a new instance of IptcParser.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParseFromByteArray
Parses IPTC data from a byte array.
Public methodParseFromImage(Stream)
Parses IPTC data from a JPEG or TIFF image file stream.
Public methodParseFromImage(String)
Parses IPTC data from a JPEG or TIFF image file.
Public methodParseFromImage(Stream, Int32)
Parses IPTC data from a specific frame in a multipage TIFF image file stream.
Public methodParseFromImage(String, Int32)
Parses IPTC data from a specific frame in a multipage TIFF image file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The Newspaper Association of America (NAA) and the International Press Telecommunications Council (IPTC) have worked jointly to design a model to store all sorts of data in an image. This metadata is commonly known as IPTC. Adobe Photoshop uses IPTC to store information in images as well as much of the newspaper and press industry. DotImage can read and write IPTC information to a JPEG image and read IPTC information from a TIFF image.

IPTC data can be modified and saved back in a JPEG or TIFF image.

For more information on IPTC and Metadata in general see %iptc.html% and %metadataoverview.html%.

Examples
[New Example] (C#)
IptcTextParser iptcParser = new IptcTextParser();
IptcTextCollection iptcTags = iptcParser.Parse("myimage.jpg");
[New Example] (Visual Basic)
Dim iptcParser As IptcTextParser = New IptcTextParser()
Dim iptcTags As IptcTextCollection = iptcParser.Parse("myimage.jpg")
See Also