如何实现在Android的图像失真效果 [英] How to implement image distortion effects in Android

查看:187
本文介绍了如何实现在Android的图像失真效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要实现对图像中的Andr​​oid失真的影响。我做的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.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆