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:...Annotation Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
How to export data to JSON or XML files....Annotation Product Solution GroupDocs...documents and extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This article explains the method which can be used when for some reason files have non-standard extensions or if its format is supported, but not pre-configured....Annotation Product Solution GroupDocs...various document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This section explains how to load document from Amazon S3 Storage with GroupDocs.Signature API....Annotation Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
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....Annotation Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
Learn about ThreeDConvertOptions class for 3D file formats (FBX, OBJ, GLTF, 3DS, U3D) in GroupDocs.Conversion for .NET....Annotation Product Solution GroupDocs...model to Universal 3D format for PDF embedding: using GroupDocs.Conversion...
Learn about CadConvertOptions class for CAD file formats (DWG, DXF, DWF) in GroupDocs.Conversion for .NET....Annotation Product Solution GroupDocs...Conversions from non-CAD formats (PDF, Word, Excel) to CAD formats...
This article explains how to provide advanced options when updating Text electronic signatures with GroupDocs.Signature API....Annotation Product Solution GroupDocs...IsSignature Image Spreadsheet Pdf Presentation Word Processing...