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:...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<ImageRootPackage>(); 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:
In this topic, you will discover how to add dropdown component in PDF using C#.Moreover, we will work with you to write C# code to insert dropdown in PDF using C#....In this topic, you will discover how to add dropdown component in PDF using C#.Moreover, we will work with you to write C# code to insert dropdown in PDF using C#.
Quickly review the detailed instructions for generating Barcode signature in C# and how to use Barcode digital signature for signing the PDF document....Quickly review the detailed instructions for generating Barcode signature in C# and how to use Barcode digital signature for signing the PDF document.
This article explains how to detect document file type, size and calculate pages count with GroupDocs.Comparison....This article explains how to detect document file type, size and calculate pages count with GroupDocs.Comparison.
This short article provides the procedure to extract text from PDF in C# and how to use this stepwise guide to write code to extract text from PDF using C#....This short article provides the procedure to extract text from PDF in C# and how to use this stepwise guide to write code to extract text from PDF using C#.
In this article, you can find how to run examples. We offer multiple solutions on how you can run GroupDocs.Comparison examples, by building your own or using our back-end or front-end examples out-of-the-box....In this article, you can find how to run examples. We offer multiple solutions on how you can run GroupDocs.Comparison examples, by building your own or using our back-end or front-end examples out-of-the-box.
This article gives the knowledge about numeric range search which allows you to search in documents any integer numbers in the range from 0 to 9223372036854775807 (Int64.MaxValue) using Java search API....This article gives the knowledge about numeric range search which allows you to search in documents any integer numbers in the range from 0 to 9223372036854775807 (Int64.MaxValue) using Java search API.
The page describes how to add search text annotation to a document using GroupDocs.Annotation for .NET."...The page describes how to add search text annotation to a document using GroupDocs.Annotation for .NET."