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:...Images / Extracting Common Image Information Extracting Common...GroupDocs.Metadata API allows extracting common image properties such...
Following this guide you will learn how to use fluent syntax of GroupDocs.Merger for .NET API....two pages within a document, Extract a specific page or a range...
A .NET API to manipulate metadata is being consumed as metadata viewer for CRUD operations. It helps developers to read, write, edit and remove meta information from all popular document file formats...Developer Guide BASICS USAGE Extract basic format information Search...
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:...Images / Extracting common image information Extracting common...GroupDocs.Metadata API allows extracting common image properties such...
Learn how to run Java examples which contain creating a watermark, removing watermark, adding watermark to photos, removing watermark from photo and many more examples....file, extract the folders on your local disk. The extracted files...
We offer multiple solutions on how you can run GroupDocs.Editor examples, by building your own or using our back-end or front-end Java examples out-of-the-box....file, extract the folders on your local disk. The extracted files...
Download from GitHub The complete examples package of GroupDocs.Parser is hosted on GitHub. You can either download the ZIP file from here or clone the repository of GitHub using your favorite GitHub client.
In case you download the ZIP file, Extract the folders on your local disk. The Extracted files and folders will look like following image:
Open IntelliJ Idea and import the project to get started with it. Archived project file can also be imported....file, extract the folders on your local disk. The extracted files...