Class Bitmap<T>

java.lang.Object
com.flir.thermalsdk.image.Bitmap<T>
Direct Known Subclasses:
BitmapAndroid

public abstract class Bitmap<T> extends Object
A utility construction for converting ImageBuffer to a visual bitmap.
The Bitmap class should be inherited and override functions in client code to enable creating Bitmap images optimized based on the platform implementing the SDK.
  • Constructor Details

    • Bitmap

      public Bitmap(@NotNull T bitmap)
      Store a bitmap
      Parameters:
      bitmap - the Bitmap object to store
  • Method Details

    • getWidth

      public abstract int getWidth()
    • getHeight

      public abstract int getHeight()
    • getAllocationByteCount

      public abstract long getAllocationByteCount()
    • recycle

      public abstract void recycle()
      Deallocate the image and the buffer
    • getBitMap

      public T getBitMap()
    • getBuffer

      public ImageBuffer getBuffer()