Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the getGifImageType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputGif)) { GifRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs.... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
Let's learn the process of how to extract images from PowerPoint in Java and how to use it for creating the application to get images from PowerPoint using Java....formats such as PDF, DOC, DOCX, XLSX, RTF, DOT, EPUB, and many more...
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...
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....SVG, PPTX, DOCX, MHTML, POTX, XLSX, PNG, MD, and many more. We...
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.... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
To extract a text from HTML documents GetText method is used. This method allows to extract a text from the entire document. Pagination and raw mode is not supported for emails.... DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free...
Reading PNG metadata properties The GroupDocs.Metadata API supports extracting format-specific information from PNG images.
The following are the steps to read the native PNG metadata.
Load a PNG image Get the root metadata package Extract the native metadata package using PngRootPackage.PngPackage Read the PNG metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Png.PngReadTextChunks
using (Metadata metadata = new Metadata(Constants.InputPng)) { var root = metadata.GetRootPackage(); foreach (var chunk in root.PngPackage.TextChunks) { Console.WriteLine(chunk.Keyword); Console.WriteLine(chunk.Text); var compressedChunk = chunk as PngCompressedTextChunk; if (compressedChunk !... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
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.... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
Example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...