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:...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
Hello,
I am using GroupDocs conversion java lib to convert PowerPoint files (.Pptx) to PDF, but I am encountering an issue where some characters appear with artifacts after the conversion. The text becomes distorted, ma…...pptx) to PDF, but I am encountering...input-sip").resolve("pptx_binaire.pptx"); Path outputFile = Path...
Do you want to transform a non-editable document to Word format? If so, then learn how to convert PDF to RTF in Java and review code for Java PDF to RTF application....formats including DOC, DOCX, XLSX, PPTX, TIFF, TXT, CSV, HTML, and many...
Learn the process to convert documents with one of the top library and easily convert XML to PDF in C#. Explore sample code for C# convert XML to PDF capability....of other formats such as SVG, PPTX, DOCX, MHTML, POTX, XLSX, PNG...
This article shows you how to view and edit metadata of PDF, DOC, DOCX, PPT, Pptx, XLS, XLSX, emails, images and more with our free online....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
This article shows how to to extract data from Microsoft Office Excel spreadsheets....data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
Not all metadata properties extracted from a file are marked with tags. Some file formats and metadata standards allow adding fully custom properties that can’t be properly tagged by the library since their purpose is not clearly defined in the appropriate format/standard specification. In such cases, you can use the name of the property to locate and remove it. The following example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...