请教在VC中如何显示tif图片。谁有现成的类呀,或者好的文章。有个例子就再好不过了。

解决方案 »

  1.   

    you can use kodak image edit control
    or GDI+
    http://www.codeproject.com/vcpp/gdiplus/imageexgdi.asp
      

  2.   

    下来的程序怎么编译不通过?好像要安装GDI+.给一个能编译通过的程序如何?
      

  3.   

    //in order to compile this program, you need to download microsoft platform sdk from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/downlevel.htm
    //also download gdiplus.dll and put it at the same directory as the executable.
    //http://www.microsoft.com/downloads/release.asp?releaseid=32738
    //Platform SDK Redistributable: GDI+ RTM
      

  4.   

    // CImgEdit m_imgedit; //kodak image edit control m_imgedit.SetImage("DSC00001.tif");
    m_imgedit.Display();