This article explains how to detect document file type, size and calculate pages count with GroupDocs.Comparison....Annotation Product Solution GroupDocs...spreadsheet, PowerPoint presentation, image etc.). PageCount represents...
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 DicomRootPackage.DicomPackage Read the DICOM metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Dicom.DicomReadNativeMetadataProperties
using (Metadata metadata = new Metadata(Constants.InputDicom)) { var root = metadata.GetRootPackage(); if (root.DicomPackage != null) { Console.WriteLine(root.DicomPackage.BitsAllocated); Console.WriteLine(root.DicomPackage.LengthValue); Console.WriteLine(root.DicomPackage.DicomFound); Console.WriteLine(root.DicomPackage.HeaderOffset); Console.WriteLine(root.DicomPackage.NumberOfFrames); // ....Annotation Product Solution GroupDocs...metadata for specific formats / Images / Working with DICOM metadata...
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:...Annotation Product Solution GroupDocs...metadata for specific formats / Images / Working with BMP metadata...
Let's look at how to convert Excel to PDF in C# and how to use the C# Excel to PDF sample code to convert a workbook, selected sheets, or any cell range to PDF....Annotation Product Family GroupDocs...formats. We discussed the convert Image to PDF in C# code in our earlier...
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...metadata for specific formats / Images / Working with BMP metadata...
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...metadata for specific formats / Images / Working with DICOM metadata...
We offer multiple solutions on how you can run GroupDocs.Editor examples, by building your own or using our back-end or front-end Java examples out-of-the-box....Annotation Product Solution GroupDocs...folders will look like following image: Open Eclipse and import the...
Download from GitHub The complete examples package of GroupDocs.Parser is hosted on GitHub. You can either download the ZIP file from here or clone the repository of GitHub using your favorite GitHub client.
In case you download the ZIP file, extract the folders on your local disk. The extracted files and folders will look like following Image:
Open IntelliJ Idea and import the project to get started with it. Archived project file can also be imported....Annotation Product Solution GroupDocs...folders will look like following image: Open IntelliJ Idea and import...
In this article, you will learn how to convert note-taking formats to other formats with GroupDocs.Conversion for Java....Annotation Product Solution GroupDocs...detailed consisting of digital images, audio/video clips, and hand...
Download from GitHub The complete examples package of GroupDocs.Metadata is hosted on Github. You can either download the ZIP file from here or clone the repository of Github using your favourite Github client.
In case you download the ZIP file, extract the folders on your local disk. The extracted files and folders will look like the following Image:
Open IntelliJ Idea and import the project to get started with it....Annotation Product Solution GroupDocs...will look like the following image: Open IntelliJ Idea and import...