Enum Class ImageBuffer.Format

java.lang.Object
java.lang.Enum<ImageBuffer.Format>
com.flir.thermalsdk.image.ImageBuffer.Format
All Implemented Interfaces:
Serializable, Comparable<ImageBuffer.Format>, Constable
Enclosing interface:
ImageBuffer

public static enum ImageBuffer.Format extends Enum<ImageBuffer.Format>
Supported pixel formats of the buffer.
  • Enum Constant Details

    • RGBA_8888

      public static final ImageBuffer.Format RGBA_8888
      Each pixel is represented by four bytes in the order: Red, Green, Blue, Alpha This is the default on Android.
    • BGR_888

      public static final ImageBuffer.Format BGR_888
      Each pixel is represented by three bytes in the order: Blue, Green, Red This is the default on desktop.
  • Method Details

    • values

      public static ImageBuffer.Format[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ImageBuffer.Format valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null