【问题标题】:Add CImg library into android NDK (for image processing)将 CImg 库添加到 android NDK(用于图像处理)
【发布时间】:2012-07-19 15:18:06
【问题描述】:

如何将 CImg 库添加到 android NDK 中以便进行图像处理? 提前感谢您的宝贵建议。

【问题讨论】:

    标签: android c image-processing android-ndk cimg


    【解决方案1】:

    CImg 是一个只有头文件的库,所以你可以写

    #include "cimg.h"
    

    在您的代码中的某处。如果无法为 Android 编译,您需要自行修复或寻找其他解决方案,即FreeImage.

    有关详细信息,请参阅演示幻灯片:http://cimg.sourceforge.net/CImg_slides.pdf

    【讨论】:

      【解决方案2】:

      创建在 Android 中使用 CImg 的简单示例:https://github.com/tttzof351/CImgAndroid

      【讨论】:

        猜你喜欢
        • 2018-06-27
        • 1970-01-01
        • 1970-01-01
        • 2011-12-01
        • 1970-01-01
        • 1970-01-01
        • 2014-01-29
        • 2015-03-30
        • 1970-01-01
        相关资源
        最近更新 更多