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 BmpRootPackage.BmpHeader Read the BMP header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Bmp.BmpReadHeaderProperties
using (Metadata metadata = new Metadata(Constants.InputBmp)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.BmpHeader.BitsPerPixel); Console.WriteLine(root.BmpHeader.ColorsImportant); Console.WriteLine(root.BmpHeader.HeaderSize); Console.WriteLine(root.BmpHeader.ImageSize); Console.WriteLine(root.BmpHeader.Planes); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
This artcle explains how to remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
Sometimes you may need to just remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
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....formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
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:...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images 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....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
Hello,
I am using GroupDocs conversion java lib to convert PowerPoint files (.Pptx) to PDF, but I am encountering an issue where some characters appear with artifacts after the conversion. The text becomes distorted, ma…...pptx) to PDF, but I am encountering...input-sip").resolve("pptx_binaire.pptx"); Path outputFile = Path...
Do you want to transform a non-editable document to Word format? If so, then learn how to convert PDF to RTF in Java and review code for Java PDF to RTF application....formats including DOC, DOCX, XLSX, PPTX, TIFF, TXT, CSV, HTML, and many...