[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'GraphType' (#lazutils)

TRawImageColorFormat

Color format for raw image data.

Declaration

Source position: graphtype.pp line 69

type TRawImageColorFormat = (

  ricfNone,

  

ricfNone indicates an uninitialized image.

  ricfRGBA,

  

Each pixel contains red, green, blue and alpha values. If AlphaPrec=0 then there is no alpha channel. Same for RedPrec, GreenPrec and BluePrec.

  ricfGray

  

Red, Green, and Blue have the same values. Red stores the Gray. AlphaPrec can be >0.

);

Description

Color format for raw image data. A raw image can contain RGBA or monochrome pixels.

Higher values means higher intensity. For example: Red=0 means no Red, Alpha=0 means transparent.


Version 3.2 Generated 2024-02-25 Home