Class Watermark

java.lang.Object
com.idrsolutions.image.process.Watermark
All Implemented Interfaces:
ImageOperation

public final class Watermark extends Object implements ImageOperation
ImageOperation implementation to add text watermark to an image
  • Constructor Details

  • Method Details

    • apply

      public BufferedImage apply(BufferedImage image)
      Apply the text representaton of the watermark to the image and return a new BufferedImage instance containing the watermark content
      Specified by:
      apply in interface ImageOperation
      Parameters:
      image - source image to use
      Returns:
      new Bufferedimage containing the watermark content