DrawingBufferPixelFormat()

Syntax

Result = DrawingBufferPixelFormat()
Description
Returns the current video format. It can be one of the following values:
  #PB_PixelFormat_8Bits       ; 1 bytes per pixel, palettized
  #PB_PixelFormat_15Bits      ; 2 bytes per pixel 
  #PB_PixelFormat_16Bits      ; 2 bytes per pixel
  #PB_PixelFormat_24Bits_RGB  ; 3 bytes per pixel (RRGGBB)
  #PB_PixelFormat_24Bits_BGR  ; 3 bytes per pixel (BBGGRR)
  #PB_PixelFormat_32Bits_RGB  ; 4 bytes per pixel (RRGGBB)
  #PB_PixelFormat_32Bits_BGR  ; 4 bytes per pixel (BBGGRR)

DrawingBuffer() must be called before using this command.

Supported OS

Windows, Linux

<- DrawingBufferPitch() - 2DDrawing Index - DrawingFont() ->