CImage m_image1;
m_image1.Load(path);
ASSERT( m_image1!= NULL );
nWidth= m_image1.GetWidth();
nHeight =m_image1.GetHeight();
CRect src(0,0,nWidth,nHeight);
::SetStretchBltMode(pDC->m_hDC,STRETCH_HALFTONE);//COLORONCOLOR);// HALFTONE);
::SetBrushOrgEx(pDC->m_hDC, 0, 0, NULL);
// m_image1.StretchBlt(pDC->m_hDC,item_rect,src,SRCCOPY);
m_image1.TransparentBlt(pDC->m_hDC,item_rect,src,RGB(255,255,255));//,SRCCOPY);图片是BMP格式的白色背景显示出来的图片的周围边缘是白色的.怎样消除白色的边缘。是我使用的方法不对吗?谢谢~~