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....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
Learn how to convert documents to XML or JSON data using GroupDocs.Conversion for Java....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
This article explains how to provide advanced search for metadata electronic signatures with GroupDocs.Signature API....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
This article explains how to delete signature of the certain type with GroupDocs.Signature API....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
This article explains how to load password-protected PDF, Word, Excel, PowerPoint documents when using GroupDocs.Comparison for Python via .NET....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
This article explains that how to extract HTML formatted text from document page....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
Follow this guide and learn how to split text file into several resultant files using GroupDocs.Merger for Python via .NET API....Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...
GroupDocs.Parser provides the functionality to open the password-protected documents.
The following are the steps to work with password protected documents.
Instantiate the LoadOptions object; Set password in LoadOptions(String) constructor; Create Parser object and call any method. The following code sample shows how to process password protected documents.
try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!...Viewer Product Solution GroupDocs.Annotation Product Solution GroupDocs...