Packagede.popforge.imageprocessing.core
Classpublic final class ImageFormat

The ImageFormat class is an enumeration of constant values that indicate which format an image belongs to: binary, grayscale, rgb or rgba.

When you call some methods, you can use the bitwise OR operator (|) to combine ImageFormat constants to indicate multiple formats.



Public Constants
 ConstantDefined by
  BINARY : int = 1
[static] The binary format (one channel).
ImageFormat
  GRAYSCALE : int = 2
[static] The grayscale format (one channel).
ImageFormat
  RGB : int = 4
[static] The RGB format (three channels).
ImageFormat
  RGBA : int = 8
[static] The RGBA format (four channels).
ImageFormat
Constant detail
BINARYconstant
public static const BINARY:int = 1

The binary format (one channel).

GRAYSCALEconstant 
public static const GRAYSCALE:int = 2

The grayscale format (one channel).

RGBconstant 
public static const RGB:int = 4

The RGB format (three channels).

RGBAconstant 
public static const RGBA:int = 8

The RGBA format (four channels).