Sreekanth Karumanaghat
Sreekanth Karumanaghat

Reputation: 3403

Add CImg library into android NDK (for image processing)

How can I add CImg library into android NDK so that I can do Image Processing?? Thanking you in advance for your valuable suggestions.

Upvotes: 1

Views: 2004

Answers (2)

tttzof351
tttzof351

Reputation: 391

Create simple example for uses CImg in Android: https://github.com/tttzof351/CImgAndroid

Upvotes: 1

Sergey K.
Sergey K.

Reputation: 25386

CImg is a header-only library, so you can just write

#include "cimg.h"

somewhere in your code. If it fails to compile for Android you will need to fix it yourself or look for other solutions, i.e. FreeImage.

Refer to presentation slides for more details: http://cimg.sourceforge.net/CImg_slides.pdf

Upvotes: 2

Related Questions