211static unsigned long masks[] = { 0x0000,
 
  212                                 0x0001, 0x0003, 0x0007, 0x000F,
 
  213                                 0x001F, 0x003F, 0x007F, 0x00FF,
 
  214                                 0x01FF, 0x03FF, 0x07FF, 0x0FFF,
 
  215                                 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF };
 
 
long GIFencode(int Width, int Height, int Ncol, R, G, B, ScLine, void *get_scline, pb)