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:...resources GitHub examples You may easily run the code above and...
This article explains how to specify the file type when loading a document with GroupDocs.Viewer within your .NET applications.... It takes time and may affect performance. You can specify...
This section explains how to load document from Amazon S3 Storage with GroupDocs.Signature API....resources GitHub Examples You may easily run the code above and...
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....resources GitHub examples You may easily run the code above and...
Hello,
I encounter an error when saving the docs in the Editor Demo for .NET Webform, downloading from github.
Can you please help me take a look of this error?
image.png (47.9 KB)
Regards,
WK...5 KB) You may refer to the attached screenshot...
There might be cases when the document is presented only as a stream (without a copy on the local disk). To avoid the overhead of saving documents to the disk, GroupDocs.Parser enables to extract data from streams directly.
The following example shows how to load the document from the stream:
// Create the stream try (InputStream stream = new FileInputStream(Constants.SamplePdf)) { // Create an instance of Parser class with the stream try (Parser parser = new Parser(stream)) { // Extract a text into the reader try (TextReader reader = parser....resources GitHub examples You may easily run the code above and...
Extract information about known properties available in a particular package using GroupDocs.Metadata for Python via .NET....resources GitHub examples You may easily run the code above and...
This section explains how to load document from stream with GroupDocs.Signature API....resources GitHub Examples You may easily run the code above and...