急!急!急!急!VC++中有没有将jpg图直接载入转换成24位bmp图的函数

解决方案 »

  1.   

    CxImage
    http://www.codeproject.com/bitmap/cximage.aspCxImage Sample
    http://www.codeproject.com/listctrl/ThumbsViewer.aspGDI+ Sample
    http://www.codeproject.com/vcpp/gdiplus/GdiPThumbnailsViewer.asp
      

  2.   

    使用GDI+在内存中转换图片类型
    http://www.vckbase.com/document/viewdoc/?id=1177
      

  3.   

    #include "atlimage.h"保存:
    CImage imgOpen;
    imgOpen.Load("test.jpg");
    imgOpen.Save("test.bmp");画图:
    CPaintDC dc(this);
    imgOpen.Draw(dc.GetSafeHdc(),0,0);内存操作:
    void* pImgBuffer = imgOpen.GetBits();
      

  4.   

    微软提供了一个接口
    CComQIPtr<IPicture>可以来加载JPG类图片,你可以具体的看看资料!
      

  5.   

    http://freeimage.sourceforge.net/download.html