ImageResourcePackage
Leave feedback
On this page
Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format.
public ImageResourcePackage ImageResourcePackage { get; }
The Image Resource metadata package.
Learn more
The code sample below demonstrates how to extract image resource blocks (building blocks of the Photoshop file format) from a JPEG image.
using (Metadata metadata = new Metadata(Constants.JpegWithIrb))
{
var root = metadata.GetRootPackage<JpegRootPackage>();
if (root.ImageResourcePackage != null)
{
foreach (var block in root.ImageResourcePackage.ToList())
{
Console.WriteLine(block.Signature);
Console.WriteLine(block.ID);
Console.WriteLine(block.Name);
Console.WriteLine(block.Data);
}
}
}
- class ImageResourcePackage
- class JpegRootPackage
- namespace GroupDocs.Metadata.Formats.Image
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.