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....Watermark Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This section explains how to load document from Amazon S3 Storage with GroupDocs.Signature API....Watermark Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
This section explains how to load document from stream with GroupDocs.Signature API....Watermark Product Solution GroupDocs...= File . OpenRead ( "sample.pdf" )) { using ( Signature signature...
This article explains how to add document to Spreadsheet via OLE with GroupDocs.Merger within your .NET applications....Watermark Product Solution GroupDocs...spreadsheet. For example, the PDF document can be inserted in the...
We are glad to announce another monthly release of GroupDocs.Comparison for .NET 17.2.0 API with eight new features like support of Imaging DjVu file format, Formulas, Smart Art and image comparison in spreadsheet document introduced, also providing support for “VBA Controls” in Document Comparison API v17.2.0. This monthly release is adding two improvements like “Improve comparison changes detection for Paragraphs” along with five major fixes. Detailed information is listed below....comparing Text Font in Watermarks in PDF document Added support...
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....Watermark Product Solution GroupDocs...welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
Extract information about known properties available in a particular package using GroupDocs.Metadata for Python via .NET....Watermark Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
GroupDocs.Metadata allows users to get meta information of a document....Watermark Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
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 FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.ImageReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPng)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Watermark Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...