//取出各个像素的蓝、绿、红分量lpsrc=(unsignedchar*)lpDIBBits+lLineBytes*(lHeight-1-i)+3*j;b=*lpsrc;lpsrc=(unsignedchar*)lpDIBBits+lLineBytes*(lHeight-1-i)+3*j+1;g=*lpsrc;lpsrc=(unsignedchar*)lpDIBBits+lLineBytes*(lHeight-1-i)+3*j+2;