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....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
This article shows how to save a Word processing document with a specific OOXML compliance level after redaction....like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our...
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....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
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....from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our...
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 !...of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties...of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Extract information about the known properties available in a particular package using GroupDocs.Metadata for Python via .NET....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Add metadata properties — one of the most powerful features of the GroupDocs.Metadata for Python via .NET search engine....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...