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 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...
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....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Sometimes a situation arises when an indexed document is renamed, but its contents have not changed. In this case, to save computing resources, you can notify the index about the renaming of the document, and then the document will not be reindexed during the update operation.
To notify an index about renaming a document, the notifyIndex method is used with the corresponding notification object as a parameter.
You should keep in mind that if an index is notified of the renaming of a document, it will not be reindexed the next time you call the update method, even if its contents have changed....your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free...
This article explains that how to detect encoding of a text file automatically in Java....your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free...
Sometimes a situation arises when an indexed document is renamed, but its contents have not changed. In this case, to save computing resources, you can notify the index about the renaming of the document, and then the document will not be reindexed during the update operation.
To notify an index about renaming a document, the notifyIndex method is used with the corresponding notification object as a parameter.
You should keep in mind that if an index is notified of the renaming of a document, it will not be reindexed the next time you call the update method, even if its contents have changed....your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free...
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...