16 Bit Mode - RGB?

Blitz3D Forums/Blitz3D Beginners Area/16 Bit Mode - RGB?

Here is a link explaining RGB Formats

I have gathered the most relevant info into this table.
Hope it's right!

RGB Formats
***********


16 Bit RGB555
====================
%1111 1111 1111 1111
  rrr rrgg gggb bbbb

16 Bit RGB565
====================
%1111 1111 1111 1111
 rrrr rggg gggb bbbb

24 Bit RGB888
==============================
%1111 1111 1111 1111 1111 1111
 rrrr rrrr gggg gggg bbbb bbbb

32Bit ARGB8888
========================================
%1111 1111 1111 1111 1111 1111 1111 1111
 aaaa aaaa rrrr rrrr gggg gggg bbbb bbbb


There is an example in Blitz+ by Mark called lock_graphics.bb (in the samples\mak folder).
Worth a look.