Reading BMP header Properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root metadata package Extract the native metadata package using the BmpRootPackage.getBmpHeader method Read the BMP header Properties advanced_usage.managing_metadata_for_specific_formats.image.bmp.BmpReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputBmp)) { BmpRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getBmpHeader().getBitsPerPixel()); System.out.println(root.getBmpHeader().getColorsImportant()); System.out.println(root.getBmpHeader().getHeaderSize()); System.out.println(root.getBmpHeader().getImageSize()); System.out.println(root.getBmpHeader().getPlanes()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...feedback Reading BMP header properties The GroupDocs.Metadata API...method Read the BMP header properties advanced_usage.managing_...
Reading DICOM metadata Properties The GroupDocs.Metadata API supports extracting format-specific information from DICOM images.
The following are the steps to read the native DICOM metadata.
Load a DICOM image Get the root metadata package Extract the native metadata package using the DicomRootPackage.getDicomPackage method Read the DICOM metadata Properties examples.advanced_usage.managing_metadata_for_specific_formats.image.dicom.DicomReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputDicom)) { DicomRootPackage root = metadata.getRootPackageGeneric(); if (root.getDicomPackage() != null) { System.out.println(root.getDicomPackage().getBitsAllocated()); System.out.println(root.getDicomPackage().getReds()); System.out.println(root.getDicomPackage().getGreens()); System.out.println(root.getDicomPackage().getBlues()); System....feedback Reading DICOM metadata properties The GroupDocs.Metadata API...method Read the DICOM metadata properties examples.advanced_usage....
The page describes how to add link annotation to a document using GroupDocs.Annotation for .NET....You can set the following properties of the class: defines link... Specify the appropriate properties (position, page number, etc)...
Convert CAD files (DWG, DGN, DXF) to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....The HtmlViewOptions class properties allow you to control the...The PdfViewOptions class properties allow you to control the...
Retrieving information about a document with GroupDocs.Viewer for .NET...loaded, you can retrieve its properties. For example, you can retrieve...to retrieve the document properties. Also, it shows how to get...
Reading FLV header Properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using FlvRootPackage.Header Read the FLV header Properties AdvancedUsage.ManagingMetadataForSpecificFormats.Video.Flv.FlvReadHeaderProperties
using (Metadata metadata = new Metadata(Constants.InputFlv)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Header.Version); Console.WriteLine(root.Header.HasAudioTags); Console.WriteLine(root.Header.HasVideoTags); Console.WriteLine(root.Header.TypeFlags); } Working with XMP metadata GroupDocs....feedback Reading FLV header properties The GroupDocs.Metadata API...using Read the FLV header properties AdvancedUsage.ManagingMetadataForS...
The page describes how to add arrow annotation to a document using GroupDocs.Annotation for .NET....You can set the following properties of the class: defines annotation...class. Set the appropriate properties (position, page number, etc)...
The page describes how to add checkbox component to a document using GroupDocs.Annotation for Java....can specify the following properties of the class: defines the... Specify the appropriate properties (position, page number, etc)...
The page describes how to add text redaction annotation to a document using GroupDocs.Annotation for .NET....can specify the following properties of the class: defines annotation... Specify the appropriate properties (position, page number, etc)...