如何实现在Android的图像失真效果 [英] How to implement image distortion effects in Android
问题描述
我要实现对图像中的Android失真的影响。我做的iOS(iPhone和iPad)同样使用GPUImage框架。是否有任何框架或库可在Android中做同样的。 我想实现遵循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.
捏失真
漩涡失真
隆起失真
拉伸失真
请提供此任何解决方案。先谢谢了。
Please provide any solution for this. Thanks in advance.
推荐答案
。在你的SDK文件夹到APIDemos项目非常基本的例子。看到<$c$c>SDK_DIR/samples/android-*/ApiDemos/src/com/example/android/apis/graphics/BitmapMesh.java$c$c>.
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.
这篇关于如何实现在Android的图像失真效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!