获取CxImage的alpha(这里RGBQUAD的reserved分量)值时一直不成功,一直是0。 加入以下语句即可: if (!image.AlphaIsValid()) image.AlphaCreate();