Class ImageStamper

    • Constructor Detail

      • ImageStamper

        public ImageStamper​(String imagePath)
                     throws IOException
        Initializes a new instance of the ImageStamper class.
        Parameters:
        imagePath - The path of the image to be stamped by this stamper
        Throws:
        IOException - the io exception
      • ImageStamper

        public ImageStamper​(Path imagePath)
                     throws IOException
        Initializes a new instance of the ImageStamper class.
        Parameters:
        imagePath - The uri of the image to be stamped by this stamper
        Throws:
        IOException - the io exception
      • ImageStamper

        public ImageStamper​(byte[] imageBytes)
        Initializes a new instance of the ImageStamper class.
        Parameters:
        imageBytes - The uri of the image to be stamped by this stamper
    • Method Detail

      • getImageData

        public final byte[] getImageData()
        Gets image data (byte[]).
        Returns:
        the image byte[]