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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Protect PDF documents when rendering documents using GroupDocs.Viewer for Java...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Follow this guide and learn how to remove page from PDF or Word document, delete worksheet from Excel file or remove slides from PowerPoint presentations with GroupDocs.Merger for Java API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Learn how to open a file from local disk using GroupDocs.Metadata for Python via .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article shows how to save a document to a specified location on a local disk in Java...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to update password for PDF, Word, Excel, PowerPoint documents by using GroupDocs.Merger for Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This example demonstrates how to load a file from a stream using GroupDocs.Metadata for Python via .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to rearrange document pages for PDF, Word, Excel, PowerPoint and many other file types using GroupDocs.Merger for .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
The following example demonstrates how to load a file from a local disk.
advanced_usage.loading_files.LoadFromLocalDisk
// Constants.InputOne is an absolute or relative path to your document. Ex: @"C:\Docs\source.one" try (Metadata metadata = new Metadata(Constants.InputOne)) { // Extract, edit or remove metadata here } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:
GroupDocs.Metadata for .NET examples
GroupDocs.Metadata for Java examples...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...