问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/13137115/how-to-implement-image-distortion-effects-in-android