Interface IStreamingImageTransformer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage transform​(java.io.InputStream input)
      Transforms the image provided as the input stream.
      byte[] transformToPNG​(java.io.InputStream input)
      Transforms the image provided as the input stream.
      void transformToPNGStream​(java.io.InputStream input, java.io.OutputStream output)
      Transforms the image provided as the input stream.
    • Method Detail

      • transform

        java.awt.image.BufferedImage transform​(java.io.InputStream input)
        Transforms the image provided as the input stream.
        Returns:
        The transformed image.
      • transformToPNG

        byte[] transformToPNG​(java.io.InputStream input)
        Transforms the image provided as the input stream.
        Returns:
        The transformed image as a byte array that constitutes a PNG file.
      • transformToPNGStream

        void transformToPNGStream​(java.io.InputStream input,
                                  java.io.OutputStream output)
        Transforms the image provided as the input stream. Writes the transformed PNG file to the output stream.