;  Grid[nbyte * (x + width * yy) + c] = (byte)Col[c];  }  }  }  mpre = msk;  } //=============== end for (y=0; ... =============================  } //================= end for (x=0; ... =============================  