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:...Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
Using the GroupDocs.Metadata search engine you can extract desired metadata properties from Files of different types. You don’t need to worry about the exact File format and metadata standards it can deal with. The same code will work for all supported formats in the same way. Most commonly used metadata properties are marked with tags that allow searching them across all supported Files in various metadata packages. All tags defined in GroupDocs....Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
Reading AVI header properties The GroupDocs.Metadata API supports extracting format-specific information from AVI File headers.
The following are the steps to read the header of an AVI File.
Load an AVI video Get the root metadata package Extract the native metadata package using the AviRootPackage.getHeader method Read the AVI header properties advanced_usage.managing_metadata_for_specific_formats.video.avi.AviReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputAvi)) { AviRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getAviHeaderFlags()); System.out.println(root.getHeader().getHeight()); System.out.println(root.getHeader().getWidth()); System.out.println(root.getHeader().getTotalFrames()); System.out.println(root.getHeader().getInitialFrames()); System.out.println(root.getHeader().getMaxBytesPerSec()); System....Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
Using the GroupDocs.Metadata for Java you can easily search metadata and extract desired metadata properties from PDF, DOCX, PPTX, XLSX, images, audio, video and many other Files of different types in your Java solution....Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
Index Browser is a .NET application for managing indexes created using the GroupDocs.Search library...Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
Index Browser is a .NET application for managing indexes created using the GroupDocs.Search library...Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
This article explains how to handle ID3v2 tag....Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
Complete step-by-step tutorial for creating secure electronic signatures in documents using Python and GroupDocs.Signature - perfect for developers building document signing applications...Digital Signatures to Excel Files Implementing Barcode Signatures...you’re building a document management system, automating business...
This article explains that how you can easily search metadata and extract desired metadata properties from PDF, DOCX, PPTX, XLSX, images, audio, video and many other Files of different types in your .NET solution....Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...
It supports DOCX, DOCM, DOC, DOT, DOTM, XLS, XLSX, PDF, PPT, JPG, PNG, HTML, EML and many more....Pricing Information Free Trials Temporary License Policies My Orders...app About About Us Contact Customers Legal Security Events Acquisition...