使用缩放和拖动矩形裁剪图像 [英] Crop an image using scaling and dragging the rectangle

查看:80
本文介绍了使用缩放和拖动矩形裁剪图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Android的新手,我想学习如何使用矩形来实现裁剪图像,可以在图像上拖动和缩放,最后裁剪图像,使用矩形边界(whatsapp profile picure更改中使用的相同裁剪活动)。在此先感谢。

I am new to android and i want to learn how to implement crop image using rectangle that can be dragged and scaled over the image and finally crop image with rectangle boundaries(the same crop activity used in whatsapp profile picure change). Thanks in advance.

推荐答案

看看 <大> Google [ ^ ]

http ://khurramitdeveloper.blogspot.in/2013/07/capture-or-select-from-gallery-and-crop.html [ ^ ]

http://choiboijames.blogspot.in/2013/07/android-image-cropping-example.html [ ^ ]



-KR
Take a look at on Google[^]
http://khurramitdeveloper.blogspot.in/2013/07/capture-or-select-from-gallery-and-crop.html[^]
http://choiboijames.blogspot.in/2013/07/android-image-cropping-example.html[^]

-KR


我知道为时已晚。无论如何,我找到了答案。使用此库

https://github.com/edmodo/裁剪器 [ ^ ]
I know it is too late. Anyway I found an answer to it. Use this library
https://github.com/edmodo/cropper[^]


这篇关于使用缩放和拖动矩形裁剪图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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