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:...Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
Reading FLV header properties The GroupDocs.Metadata Api supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP metadata GroupDocs....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This brief writing provides guidance how to add squiggly annotation in PDF using C# along with instructions and code to insert squiggly annotation to PDF in C#....Find Answers by API GroupDocs.Total Product Family GroupDocs...Product Family GroupDocs.Signature Product Family GroupDocs.Metadata...
Find answers about converting Documents and images of various types using code on any platform....Find Answers by API GroupDocs.Total Product Family GroupDocs...Product Family GroupDocs.Signature Product Family GroupDocs.Metadata...
Find Answers by Api GroupDocs.Total Product Family GroupDocs.Conversion Product Family GroupDocs.Annotation Product F......Find Answers by API GroupDocs.Total Product Family GroupDocs...Product Family GroupDocs.Signature Product Family GroupDocs.Metadata...
This article describes how to generate a preview for any slide for the existing PowerPoint presentation in SVG format...Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
Learn this article and check how to convert Microsoft Word DOCX, DOC, RTF Documents to other formats with GroupDocs.Conversion for Java....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This topic describes how to use the GroupDocs.Viewer Java Api to convert CAD files (DWG, DGN, DXF) to HTML, PDF, PNG, and JPEG formats....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
The listed articles below explain how to load password-protected Documents and load files from different sources....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This topic describes how to use the GroupDocs.Viewer Node.js Api to convert Lotus Notes database files (NSF) to HTML, PDF, PNG, and JPEG formats....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...