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....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
In this article, you will learn how to convert note-taking formats to other formats with GroupDocs.Conversion for Java....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
Learn this article and check how to obtain default convert options for specific conversion format with GroupDocs.Conversion for Java API. ...Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
In this article, you will learn how to extract compressed files and convert them to desired format with GroupDocs.Conversion for Java....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
Free search api version is available to evaluate the API which will be similar as licensed but with few limitations....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
This section decsribes how to get started with GroupDocs.Merger for Java library...Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package.
Load a file to examine Get a collection of PropertyDescriptor instances for any desired metadata package Iterate through the extracted descriptors advanced_usage.GettingKnownPropertyDescriptors
try (Metadata metadata = new Metadata(Constants.InputDoc)) { WordProcessingRootPackage root = metadata.getRootPackageGeneric(); for (PropertyDescriptor descriptor : root.getDocumentProperties().getKnowPropertyDescriptors()) { System.out.println(descriptor.getName()); System.out.println(descriptor.getType()); System.out.println(descriptor.getAccessLevel()); for (PropertyTag tag : descriptor.getTags()) { System.out.println(tag); } System.out.println(); } } Note Not all possible properties are presented in the getKnowPropertyDescriptors collection....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article explains that how to extract HTML formatted text from document page in Java....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article shows how to get the basic document info....Markdown Product Solution GroupDocs...Product Solution GroupDocs.Editor Product Solution GroupDocs...