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:... Was this page helpful? Not really Yes, thanks...tell us how we can improve this page. Skip Send Thank you for your...
Learn this article and check how to improve conversion speed and performance when convert document with GroupDocs.Conversion for .NET API....cache implementation Was this page helpful? Not really Yes, thanks...tell us how we can improve this page. Skip Send Thank you for your...
Classify document by path with IAB-2 taxonomy and return 2 best results Classifying of the document could be performed with the next steps
Call Classify method for “document.pdf” file in the current (".") directory with IAB-2 taxonomy and return 2 best results. Handle possible ApiException try { var response = classifier.Classify("document.pdf", ".", 3, Taxonomy.Iab2); Console.WriteLine(response.BestClassName, response.BestClassProbability); } catch (ApiException e) { Console.WriteLine(e.Message); } Precisely classify document by path with Documents taxonomy and return 4 best results Call Classify method for “document.... Message ); } Was this page helpful? Not really Yes, thanks...tell us how we can improve this page. Skip Send Thank you for your...
This article explains how to provide advanced search for Form Field electronic signatures with GroupDocs.Signature API.... Was this page helpful? Not really Yes, thanks...tell us how we can improve this page. Skip Send Thank you for your...
Convert Outlook (PST/OST) files to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....files Leave feedback On this page allows you to render Microsoft...entire document or specific pages. Supported Outlook data file...
This article shows how to redact the Pages of a document as images, redacting entire areas of the Page instead or in addition to a specific text....you might need to redact the pages of a document as images, redacting...redacting entire areas of the page instead or in addition to a...
It supports DOCX, DOCM, DOC, DOT, DOTM, XLS, XLSX, PDF, PPT, JPG, PNG, HTML, EML and many more....Formats Leave feedback On this page GroupDocs.Watermark for .NET...not available for rasterized pages 📘 Add watermark to ✉️ Email...
Learn how to load and convert finance documents (XBRL, iXBRL) with advanced options using GroupDocs.Conversion for .NET API....options Leave feedback On this page provides to control how source...xbrl" , options ); } Was this page helpful? Not really Yes, thanks...
This article shows how to get information about electronic signatures in the document and its form fields with GroupDocs.Signature API.... print ( " - page count : " + documentInfo . getPageCount...{ System . out . print ( " - page-" + pageInfo . getPageNumber...
Learn how to extract fonts from input Word documents when editing with GroupDocs.Editor API for Node.js....options Leave feedback On this page Introduction WordProcessing...platforms or systems. Was this page helpful? Not really Yes, thanks...