Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement image distortion effects in Android

I want to implement distortion effects on image in Android. I did the same in iOS(iPhone and iPad) by using GPUImage framework. Is there any framework or library available in Android to do the same. I want to implement following distortion effects in Android.

pinch distortion

swirl distortion

bulge distortion

stretch distortion

Please provide any solution for this. Thanks in advance.

like image 730
Sanchit Paurush Avatar asked Oct 30 '12 10:10

Sanchit Paurush


1 Answers

There is a very basic example in your SDK folder into the APIDemos project. See SDK_DIR/samples/android-*/ApiDemos/src/com/example/android/apis/graphics/BitmapMesh.java.

Also answers for Resources for image distortion algorithms may help.

like image 53
OcuS Avatar answered Oct 05 '22 03:10

OcuS