我下个CxImage 研究了半天 只需要里面的jpeg格式 ,其他的很多格式的处理都不需要 有没有办法可以把没用的库去掉啊? 不知道怎么搞? 搞定了 立刻给分

解决方案 »

  1.   

    Supported file formats
    At the begining of the main header file ximage.h you'll find the definitions to enable or disable a specific format:
    // CxImage supported formats
    #define CXIMAGE_SUPPORT_BMP 1
    #define CXIMAGE_SUPPORT_GIF 1
    #define CXIMAGE_SUPPORT_JPG 1
    #define CXIMAGE_SUPPORT_PNG 1
    #define CXIMAGE_SUPPORT_MNG 0
    #define CXIMAGE_SUPPORT_ICO 1
    #define CXIMAGE_SUPPORT_TIF 1
    #define CXIMAGE_SUPPORT_TGA 1
    #define CXIMAGE_SUPPORT_PCX 1
    #define CXIMAGE_SUPPORT_WBMP 1
    #define CXIMAGE_SUPPORT_WMF 1
    #define CXIMAGE_SUPPORT_J2K 0
    #define CXIMAGE_SUPPORT_JBG 0
    Remember to rebuild the library if you change these statements.
    cximagemfcdll工程当中
    把ximacfg.h 这个文件里面屏蔽那些不用的
    然后删除,那些不要的工程的依赖关系
    必须保留的是tiff,zlib和jpeg三个工程的依赖
    编译就可以达到目的,静态还是动态连接是工程设置的问题,自己搞定
      

  2.   

    我看的旧帖子上的答案 http://community.csdn.net/Expert/topic/3892/3892448.xml?temp=6.711978E-02
      

  3.   

    改正一个错误 必须保留的是zlib和jpeg2个工程的依赖 。tiff用不着。
    ==================================
    其实它的帮助写的还是很详细的 你应该好好看看 它教你怎么用的。
      

  4.   

    你应该问问题前  搜一下 csdn