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 DicomRootPackage.DicomPackage Read the DICOM metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Dicom.DicomReadNativeMetadataProperties
using (Metadata metadata = new Metadata(Constants.InputDicom)) { var root = metadata.GetRootPackage(); if (root.DicomPackage != null) { Console.WriteLine(root.DicomPackage.BitsAllocated); Console.WriteLine(root.DicomPackage.LengthValue); Console.WriteLine(root.DicomPackage.DicomFound); Console.WriteLine(root.DicomPackage.HeaderOffset); Console.WriteLine(root.DicomPackage.NumberOfFrames); // ....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
The Example in this article demonstrates how To update metadata properties using a combination of criteria...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
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....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
GroupDocs.Parser provides the functionality To handle loading of HTML external resources.
Here are the steps To handle loading of HTML external resources.
Instantiate the ParserSettings object and pass External Resource Handler; Create Parser object and call GetImages method. The following code sample shows how To handle loading of HTML external resources.
// Create an instance of ParserSettings To pass External Resource Handler ParserSettings settings = new ParserSettings(new Handler()); // Create an instance of Parser class To generate spreadsheet page previews try (Parser parser = new Parser(Constants....data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Extract the metadata properties you need from files of different types with GroupDocs.Metadata for Python via .NET using tags, categories and property attributes....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
You are welcome To view and edit metadata of Pdf, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails, images and more....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
Learn common ways To read metadata property values and handle their types in GroupDocs.Metadata for Python via .NET....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
GroupDocs.Parser provides the functionality To extract data from Microsoft Office PowerPoint presentations. Both classic (ppt, pot) and Open XML (pptx, potx) formats are supported. Also LibreOffice Impress (OpenOffice.org Impress) formats are supported.
The following table provides the list of supported formats:
Format Description PPT Microsoft Office PowerPoint Presentation PPS Microsoft Office PowerPoint Slideshow POT Microsoft Office PowerPoint Template PPTX Microsoft Office Open XML Presentation PPTM Microsoft Office Open XML Macro-Enabled Presentation POTX Microsoft Office Open XML Presentation Template POTM Microsoft Office Open XML Macro-Enabled Presentation Template PPSX Microsoft Office Open XML Presentation Slideshow PPSM Microsoft Office Open XML Macro-Enabled Presentation Slideshow ODP Open Document Presentation OTP Open Document Presentation Template More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Reading MOV format-specific properties The GroupDocs.Metadata API supports extracting QuickTime aToms from a MOV video. The aTom is the basic data unit in any QuickTime file. Please find more information on QuickTime aToms in the official specification: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html
The following are the steps To extract QuickTime aToms from a MOV video.
Load a MOV video Get the root metadata package Extract the native metadata package using the MovRootPackage.getMovPackage method Read the QuickTime aToms advanced_usage....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
Detecting the GIF version The following sample of code will help you To detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the getGifImageType method To obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputGif)) { GifRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...