com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class WatermarkableImage

    • Method Detail

      • add

        public final void add(Watermark watermark)
        Adds a watermark to this WatermarkableImage.

        This method assumes that watermark offset and size are measured in pixels (if they are assigned).

        Parameters:
        watermark - The watermark to add to the image.
      • getBytes

        public final byte[] getBytes()

        Gets the image as byte array.

        Returns:
        The image data.