  SCN.

  8   -    :

typedef struct tsSCNFILEHEADER
{
	WORD wType;
	WORD wReserved1;
	WORD wReserved2;
	WORD wOffBits;
} SCNFILEHEADER;

:
wType -  S  C (2 );
wReserved1  wReserved2 -  (4 );
wOffBits -   (2 );

  8  -    :

typedef struct tsSCNINFOHEADER
{
	WORD wWidth;
	WORD wHeight;
	WORD wBitCount;
	WORD wReserved;
} SCNINFOHEADER;

:
wWidth -      (2 );
wHeight -      (2 );
wBitCount -    (2 );
  3 : 8 - RGB332, 15 - RGB555, 16 - RGB565.
wReserved -  (2 );

     -    . 
 256  192   (  "ZX spectrum")      ,
      .  88   
 44.      (  INK    PAPER)
  RGB332.     RGB555  RGB565,     
   2  (2   INK  2   PAPER).
     (01800),     0300  01800.
    03000,   01800 -  ,
  01800 -   .      -  INK,
   -  PAPER.
       ,    .
    256  INK  256  PAPER  RGB332.

    BMP24(RGB888)   SCN   :
   .  16    .
   16  (  Y = 2R + 4G + B).
    .  INK    R, G  B,
        .  PAPER 
  R, G  B,       .
       .   
  ,      INK,  - PAPER.
  ,  '0' -  PAPER,  '1' -  INK.  RGB888  RGB332
     ,   .

