Class AnylineImage

    • Constructor Detail

      • AnylineImage

        AnylineImage(ByteBuffer data, AnylineImage.ColorFormat colorFormat, int width, int height, int bytesPerRow)
        Instantiates a new AnylineImage from a ByteBuffer with a given width and height.
        Parameters:
        data - ByteBuffer representation of the image
        colorFormat - colorFormat of image
        width - image width
        height - image height
      • AnylineImage

        AnylineImage(Array<byte> data, AnylineImage.ColorFormat colorFormat, int width, int height, int bytesPerRow)
        Instantiates a new AnylineImage from a byte array with a given width and height.
        Parameters:
        data - byte representation of the image
        colorFormat - colorFormat of image
        width - image width
        height - image height
      • AnylineImage

        AnylineImage(Array<byte> data, int width, int height)
        Instantiates a new AnylineImage from a byte array with a given width and height.
        Parameters:
        data - byte representation of the image
        width - image width
        height - image height
      • AnylineImage

        AnylineImage(Bitmap bitmap)
        Instantiates an AnylineImage from a Bitmap.
        Parameters:
        bitmap - the image source in Bitmap format