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:...Conversion Product Solution GroupDocs...specific formats / Images / Extracting common image information Extracting...
Check this guide to learn how to adjust PNG and JPG Images size when rendering documents with Image Viewer by GroupDocs for Java....Conversion Product Solution GroupDocs...JPEG / Adjust the image size Adjust the image size Leave feedback...
Convert CAD files (DWG, DGN, DXF) to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....Conversion Product Solution GroupDocs...and models as HTML, PDF, and image files Leave feedback On this...
This topic describes how to use the GroupDocs.Viewer Node.js API to convert Microsoft Project files to HTML, PDF, PNG, and JPEG formats....Conversion Product Solution GroupDocs...documents as HTML, PDF, and image files Leave feedback On this...
Reduce PDF Image resolution by adjusting compression and resizing options within the GroupDocs.Viewer API....Conversion Product Solution GroupDocs.../ Optimize images / Set image resolution Set image resolution...
Set Image size limits when rendering Image to PDF...Conversion Product Solution GroupDocs...Render to PDF / Set image size limits Set image size limits Leave...
This article shows how to add metadata signatures to the Image exif metadata layer with various data types...Conversion Product Solution GroupDocs...Metadata signatures / eSign Image eSign Image with Metadata signature...
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:...Conversion Product Solution GroupDocs...specific formats / Images / Extracting Common Image Information Extracting...
This topic describes how to use the GroupDocs.Viewer Java API to convert PDF files to HTML, PNG, and JPEG formats....Conversion Product Solution GroupDocs...Render PDF documents as HTML and image files Leave feedback On this...