if(alp) { if(alp>7&& nw >SUB_THRESH)  nw=0xff;
if(alp>7&& nw >SUB_THRESH)  nw=0xff;
uint8_t mergeBitmap(uint8_t *bitin, uint8_t *bitout, uint8_t *maskin,uint32_t w, uint32_t h){// Merge with alpha channel           uint8_t *in,*mask,*out;           uint32_t alp,nw;           in=bitin;           out=bitout;           mask=maskin;           for(uint32_t y=0;y<h;y++)           {            for(uint32_t x=0;x<w;x++)            {                                       nw=in[x];                    alp=mask[x];                    if(alp)                     {                         if(alp>7&& nw >SUB_THRESH)  nw=0xff;                         else       nw=0;                         out[x]=nw;                                                             }                    else out[x]=0;            }            out+=w;            in+=w;            mask+=w;           }        return 1;}