GroupDocs.Viewer for Java enables you to convert files to HTML, PNG, JPEG, PDF file formats, and save attachments without relying on third-party applications. GroupDocs.Viewer for Java is cross-platform class library.... We value your opinion. Your feedback...
Example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties... We value your opinion. Your feedback...
This article explains how to detect document file type, size and calculate pages count with GroupDocs.Comparison.... We value your opinion. Your feedback...
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 !... We value your opinion. Your feedback...
This article demonstrates that how you can specify starting page index (zero based) and the number of pages from this index to save a rasterized PDF... We value your opinion. Your feedback...
You can implement ILogger interface from com.groupdocs.redaction.options package. This interface requires to implement three methods:
import com.groupdocs.redaction.options.ILogger; import java.util.ArrayList; /** *
* This is an example of ILogger implementation, tracking count of error messages. *
*/ public class CustomLogger implements ILogger { private ArrayList _errors; private ArrayList _traces; private ArrayList _warnings; public boolean hasErrors() { return _errors.size() > 0; } public CustomLogger() { _errors = new ArrayList(); _traces = new ArrayList(); _warnings = new ArrayList(); } public void error(String message) { _errors.... We value your opinion. Your feedback...