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:...Images / Extracting Common Image Information Extracting Common...GroupDocs.Metadata API allows extracting common image properties such...
A .NET API to manipulate metadata is being consumed as metadata viewer for CRUD operations. It helps developers to read, write, edit and remove meta information from all popular document file formats...Developer Guide BASICS USAGE Extract basic format information Search...
Hey Vladimir
Thanks for the update!
What about supporting it in GroupDocs.Conversion?
Best,
Shay...use case we would like to extract the images and put a unique...having to parse it later to extract the images. evgen.efimov August...
Retrieve and save attachments from emails, Outlook files, archives, and PDFs....viewer import Viewer def extract_and_save_attachments (): #...if __name__ == "__main__" : extract_and_save_attachments () with_attachments...
This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file to load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path to your document. Ex: @"C:\Docs\source.xls" try (Metadata metadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); // Use format-specific properties to Extract or edit metadata System....format-specific properties to extract or edit metadata System . out...
This example demonstrates how to load a file of a particular format using GroupDocs.Metadata for Python via .NET....format-specific properties to extract or edit metadata print ( f...
Following this guide you will learn how to use fluent syntax of GroupDocs.Merger for .NET API....two pages within a document, Extract a specific page or a range...
Learn how to run Java examples which contain creating a watermark, removing watermark, adding watermark to photos, removing watermark from photo and many more examples....file, extract the folders on your local disk. The extracted files...