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....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
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 !...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
The easiest way To remove metadata properties from a file is To use corresponding tags that allow you To locate the desired properties across all metadata packages....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
This article explains that how To extract images from Microsoft Office Excel (.xls, .xlsx) spreadsheets....data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Java API To remove all or selective metadata properties of DOCX, XLSX, PPTX, Pdf documents, JPEG, PNG, WebP images, Email, eBooks, Visio Drawings, Zip, etc....spreadsheets, presentations, PDF files, images, emails, eBooks, drawings...
The SetProperties method is used To update or add metadata. You can easily add metadata To phoTos, Pdfs or you can update or add data To mp3 files....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
The Example in this article demonstrates that how To update metadata properties using a combination of criteria...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
GroupDocs.Metadata for .NET provides functionality that allows working with ONE files created by different versions of Microsoft OneNote. Please see the code samples below for more information.
Inspecting Note documents The inspection feature that is introduced in this section doesn’t work with metadata directly but extracts some useful pieces of information that can be considered as metadata under some circumstances. For example, you may want To obtain information about pages in a note document....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...