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 API supports extracting format-specific information...the root metadata package Extract the native metadata package...
Reason to use a Document Conversion API The world is becoming a global village and businesses running all over the world interacting and collaborating with hundreds of institutions across the globe, the data gathered from different sources come in a number of different formats. Even the data arranged within an organization could be compiled in different formats depending upon the person or department gathering and maintaining it. You may also find yourself in a situation where the older files being used within the company may no longer be compatible with the company’s needs due to certain changes in company policies and software being used by it....initiatives, organizations must extract more valuable information and...
This article explains how to get a list of indexed documents from an index, and how to get the text of indexed documents in HTML or plain text format....an indexed document can be extracted from an index if the option...text of the document will be extracted from the document again. Details...
For all supported image formats the GroupDocs.Metadata API allows Extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root metadata package Use the getImageType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.ImageReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPng)) { ImageRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getImageType().getFileFormat()); System.out.println(root.getImageType().getByteOrder()); System.out.println(root.getImageType().getMimeType()); System.out.println(root.getImageType().getExtension()); System.out.println(root.getImageType().getWidth()); System.out.println(root.getImageType().getHeight()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Images / Extracting common image information Extracting common...GroupDocs.Metadata API allows extracting common image properties such...
Announcing the first public GroupDocs.Total for Node.js via Java (v26.8), a single npm package that bundles conversion, viewing, editing, signing and more for 200+ formats....5 Extract text, images, and structured...
GroupDocs.Merger for Python via .NET is a powerful API to merge several documents into one, split single document to multiple documents, reorder or replace document pages, change page orientation, manage document protection, render documents as images and more.... Extract specified page or page ranges...
Learn how to read source and target texts of detected changes using GroupDocs.Comparison for Python via .NET....target_text ) 🔹 Use case: Extract changed text pairs to power...
Learn common ways to read metadata property values and handle their types in GroupDocs.Metadata for Python via .NET....properties / Extracting property values Extracting property values...import MetadataPropertyType def extract_using_type (): with Metadata...
Learn how to open and process password-protected PDF and Office documents with GroupDocs.Parser for Java. Includes error handling examples and supported encryption types....with LoadOptions ; Call any extraction method. The following code...password ))) { // Check if text extraction is supported if (! parser...