Following code snippet shows how To add text watermark To a document. If the document consists of multiple parts (pages, worksheets, slides, frames etc), the watermark will be added To all of them.
advanced_usage.adding_text_watermarks.AddTextWatermark
// Specify an absolute or relative path To your Image. Ex: "C:\\Docs\\Image.png" Watermarker watermarker = new Watermarker("Image.png"); // Initialize the font To be used for watermark Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); // Create the watermark object TextWatermark watermark = new TextWatermark("Test watermark", font); // Set watermark properties watermark....Conversion Product Solution GroupDocs...relative path to your image. Ex: "C:\\Docs\\image.png" Watermarker...
Issue with Font :- "Leelawadee UI" Hi, When we try To convert a document with the 'Leelawadee UI' font ToPdf, we encounter some issues in characters. Can you please suggest something here? Issue w......the 'Leelawadee UI' font to PDF, we encounter some issues in...setUseTextShaper(true) property during conversion? Without this property, the...
This article explains how To obtain supported Conversions when converting documents with GroupDocs.Conversion within your Java applications...Conversion Product Solution GroupDocs...GroupDocs.Conversion Product Family / GroupDocs.Conversion for Java...
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 FileType property To obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputGif)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....Conversion Product Solution GroupDocs...formats / Images / Working with metadata in GIF images Working...
Learn how To run GroupDocs.Viewer for Node.js via Java inside Docker containers with examples, dependencies, and troubleshooting....Conversion Product Solution GroupDocs...Docker image in two stages to minimize the final image size. In...
GroupDocs.Conversion for Java is an advanced document Conversion API developed To convert files of different formats from within Java applications....Conversion Product Solution GroupDocs...GroupDocs.Conversion Product Family / GroupDocs.Conversion for Java...
This article demonstrates how To convert specific document pages by page number using GroupDocs.Conversion for Java API....Conversion Product Solution GroupDocs...GroupDocs.Conversion Product Family / GroupDocs.Conversion for Java...
This article explains how To integrate OCR solution To GroupDocs.Parser...Conversion Product Solution GroupDocs...to extract a text from images and PDFs / Use OCR Connector Use...
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....Conversion Product Solution GroupDocs...formats / Images / Working with metadata in GIF images Working...