RasterFormat#

class ansys.stk.core.graphics.RasterFormat#

IntEnum

Overview#

RED

The format of the raster is a single band consisting of red values.

GREEN

The format of the raster is a single band consisting of green values.

BLUE

The format of the raster is a single band consisting of blue values.

ALPHA

The format of the raster is a single band consisting of alpha values.

RGB

The format of the raster is three bands consisting of red, green, and blue values.

BGR

The format of the raster is three bands consisting of blue, green, and red values.

RGBA

The format of the raster is four bands consisting of red, green, blue, and alpha values.

BGRA

The format of the raster is four bands consisting of blue, green, red, and alpha values.

LUMINANCE

The format of the raster is a single band consisting of luminance values.

LUMINANCE_ALPHA

The format of the raster is two bands consisting of luminance and alpha values.

Import detail#

from ansys.stk.core.graphics import RasterFormat