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....edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
We are pleased To announce another monthly release of GroupDocs.Annotation for Java v17.10 with some new features like import of annotation from Diagram, setting annotations opacity and many more. This monthly release also covers improvements like change in arrow shape and import of text annotations. Aside this, many fixes are also introduced in this release. For further information, please see release notes. We’d recommend you To download latest release of the API, integrate it in your project and share your valuable feedback....following document types # Diagram PDF Word Slide Import following annotation...when: # Annotating xlsx and pptx formatted document Get a document...
This article shows how To extract data (text, images, Pdf forms) from ZIP-archived documents with GroupDocs.Parser....allows to get attachments from PDF and Emails and extract data from...with attachments (like emails, PDF Portfolios). Here are the steps...
There might be cases when the document is presented only as a stream (without a copy on the local disk). To avoid the overhead of saving documents To the disk, GroupDocs.Parser enables To extract data from streams directly.
The following example shows how To load the document from the stream:
// Create the stream try (InputStream stream = new FileInputStream(Constants.SamplePdf)) { // Create an instance of Parser class with the stream try (Parser parser = new Parser(stream)) { // Extract a text inTo the reader try (TextReader reader = parser....extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
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....pdf" ) as metadata : affected = metadata...) metadata . save ( "output.pdf" ) } As a result, we get a sanitized...
This article explains the ability of the GroupDocs.Redaction API To get the general document information, which includes FileType, PageCount and FileSize....document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
This article explains the ability of the GroupDocs.Redaction API To get the general document information, which includes FileType, PageCount and FileSize....document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...