现在我需要为一个GIF文件加上一个背景,但是GIF文件上有不透明的背景,将背景文件挡住了,有没有方法去掉GIF文件的背景,谁能帮我解决呢,100大洋送上.

解决方案 »

  1.   

    CxImage对图像的处理也是用到了“层”的概念,你看看CxImage对层的操作吧!
      

  2.   

    CxImage::pDib is the background image. CxImage::pAlpha is the transparency layer. CxImage::pSelection is the selection layer, used to create regions of interest for image processing. Over these 3 specific planes, you can add other generic layers, stored in CxImage::pLayers. The generic layers are full CxImage objects, so you can build complex structures of nested layers. 
      

  3.   

    但是怎么样改变CxImage::pAlpha is the transparency layer
      

  4.   

    如何将一个透明的GIF文件画到一个背景图片上,且要透明。