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 getImageType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.ImageReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPng)) { ImageRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getImageType().getFileFormat()); System.out.println(root.getImageType().getByteOrder()); System.out.println(root.getImageType().getMimeType()); System.out.println(root.getImageType().getExtension()); System.out.println(root.getImageType().getWidth()); System.out.println(root.getImageType().getHeight()); } 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...
Fill a Word template from .NET objects or JSON and generate a finished Document with GroupDocs.Total for .NET — runnable C# examples with downloadable template and output....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This article describes the image search options that can be specified in an instance of the ImageSearchOptions class....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
In this article, you will learn how to convert an image file to text or PDF using OCR with GroupDocs.Conversion for Java....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This article shows the use of aliases which allows you to reduce the length of search queries in text form....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This article shows that how synonym search allows you to find not only the words specified in the search query, but also the synonyms, words that means the same....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
GroupDocs.Annotation for Python via .NET provides free technical support available to all users. Report your question, issue, or feature request using the GroupDocs Free Support Forum....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
Convert CAD files (DWG, DGN, DXF) to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python Api....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
This article shows how to add metadata properties which is the most sophisticated feature of the GroupDocs.Metadata search engine...Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...
Character replacement during indexing can be used, for example, to convert all text to lowercase characters or to remove diacritics from text....Signature Product Solution GroupDocs...Upgrade an Order Support Docs API Reference Live Demos Free Support...