Jpeg2000RootPackageJpeg2000Package Property
Gets the JPEG2000 native metadata package.

Namespace: GroupDocs.Metadata.Formats.Image
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntax
public Jpeg2000Package Jpeg2000Package { get; }

Property Value

Type: Jpeg2000Package
The JPEG2000 native metadata package.
Remarks
Examples
This code snippet demonstrates how to read JPEG2000 image comments.
C#
using (Metadata metadata = new Metadata(Constants.InputJpeg2000))
{
    var root = metadata.GetRootPackage<Jpeg2000RootPackage>();

    if (root.Jpeg2000Package.Comments != null)
    {
        foreach (var comment in root.Jpeg2000Package.Comments)
        {
            Console.WriteLine(comment);
        }
    }
}
See Also