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...
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:...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
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...
To extract images from Microsoft Office Excel spreadsheets getImages methods are used. By default images are extracted with its original format. With using ImageOptions class it is possible To extract images from Microsoft Office Excel spreadsheets as bmp, gif, jpeg, png and webp formats.
Warning getImages method returns null value if image extraction isn’t supported for the document. For example, image extraction isn’t supported for CSV files. Therefore, for CSV file getImages method returns null....data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
To extract images from Microsoft Office Word documents getImages methods are used. By default images are extracted with its original format. With using ImageOptions class it is possible To extract images from Microsoft Office Word documents as bmp, gif, jpeg, png and webp formats.
Warning getImages method returns null value if image extraction isn’t supported for the document. For example, image extraction isn’t supported for TXT files. Therefore, for TXT file getImages method returns null....data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Using the GroupDocs.Metadata search engine you can extract desired metadata properties from files of different types. You don’t need To worry about the exact file format and metadata standards it can deal with. The same code will work for all supported formats in the same way. Most commonly used metadata properties are marked with tags that allow searching them across all supported files in various metadata packages. All tags defined in GroupDocs....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
Extract information about the known properties available in a particular package using GroupDocs.Metadata for Python via .NET....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
Example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing To remove metadata properties...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...