Open CASCADE Technology  7.2.0
Enumerations

Image_Format.hxx File Reference

Enumerations

enum  Image_Format {
  Image_Format_UNKNOWN = 0, Image_Format_Gray = 1, Image_Format_Alpha, Image_Format_RGB,
  Image_Format_BGR, Image_Format_RGB32, Image_Format_BGR32, Image_Format_RGBA,
  Image_Format_BGRA, Image_Format_GrayF, Image_Format_AlphaF, Image_Format_RGBF,
  Image_Format_BGRF, Image_Format_RGBAF, Image_Format_BGRAF
}
 This enumeration defines packed image plane formats. More...
 

Enumeration Type Documentation

◆ Image_Format

This enumeration defines packed image plane formats.

Enumerator
Image_Format_UNKNOWN 

unsupported or unknown format

Image_Format_Gray 

1 byte per pixel, intensity of the color

Image_Format_Alpha 

1 byte per pixel, transparency

Image_Format_RGB 

3 bytes packed RGB image plane

Image_Format_BGR 

same as RGB but with different components order

Image_Format_RGB32 

4 bytes packed RGB image plane (1 extra byte for alignment, may have undefined value)

Image_Format_BGR32 

same as RGB but with different components order

Image_Format_RGBA 

4 bytes packed RGBA image plane

Image_Format_BGRA 

same as RGBA but with different components order

Image_Format_GrayF 

1 float (4-bytes) per pixel (1-component plane), intensity of the color

Image_Format_AlphaF 

1 float (4-bytes) per pixel (1-component plane), transparency

Image_Format_RGBF 

3 floats (12-bytes) RGB image plane

Image_Format_BGRF 

same as RGBF but with different components order

Image_Format_RGBAF 

4 floats (16-bytes) RGBA image plane

Image_Format_BGRAF 

same as RGBAF but with different components order