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....Along with full featured Java library we provide simple, but powerful...
This article explains how to provide advanced search for metadata electronic signatures with GroupDocs.Signature API....NET library we provide simple, but powerful...
Discover the method of how to merge TXT files using Java. Enhance your document management efficiency by learning how to combine TXT files in Java programming....up the suggested document library and making the necessary adjustments...
Learn how to convert XLSX to PNG using Python with minimal setup. Discover how to export XLSX to PNG in Python accurately and efficiently without using extra tool....the appropriate conversion library. Then, import the required...
This guide illustrates the procedure of how to convert PDF to PS using Java. Additionally, a code example will be provided to export PDF to PS using Java....Once you set up the chosen library and tweak file paths as needed...
Efficiently convert EML to XPS using Java without requiring extra tools. Elevate your document processing with this guide on how to export EML to XPS using Java....After configuring your chosen library and adjusting file paths as...
Remove text watermark from ODT using Python to process OpenDocument files automatically. This guide explains removing embedded watermark text with Python code....document watermark removal library, ODT files can be scanned for...
Discover how to convert PDF to JPG using Python. This tutorial explains how to export PDF to JPG using Python for easier sharing, and streamlined workflows.... Using the recommended library, you can automate the conversion...
Remove text watermark from XLS using Python and clean legacy Excel files efficiently. Discover how Python can locate and delete watermark text in spreadsheets....spreadsheet watermark removal library, XLS files can be examined...