AndroidImageCropandroid 图片裁剪
android 平台上的图片裁剪,可以获取正方形图片。
使用activity方法:
new Crop(Uri.fromFile( new File(Environment.getExternalStorageDirectory() + "/pic/jjjj.jpg"))) //the picture want to crop .output(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/pic/first.jpg"))) //the file to save crop .withWidth(640) //the max width want to save .start(this);
使用view:
<me.isming.crop.view.CropImageLayout android:id="@+id/clip" android:layout_width="match_parent" android:layout_height="match_parent"/>
效果如如图:
评论
YSHYClipImageControlleriOS 图片裁剪
YSHYClipImageController实现圆形、方形两种方式的图片裁剪,支持自定义裁剪大小,支持自定义图片缩放比例。基于UIImagePickerController,在UIImagePick
YSHYClipImageControlleriOS 图片裁剪
0
YSHYClipImageControlleriOS 图片裁剪
YSHYClipImageController 实现圆形、方形两种方式的图片裁剪,支持自定义裁剪大小
YSHYClipImageControlleriOS 图片裁剪
0
Tclipphp图片裁剪
名字说明T开头,代表是头像识别。clip,读[klip],译为裁剪。Tclip,意为自动头像识别的图片裁剪项目。概要用于图片裁剪,有以下特点:能进行人脸识别。图片中有人脸,将自动视为人脸区域为重要区域
Tclipphp图片裁剪
0
uCropAndroid 图片裁剪库
uCrop是[Yalantis](https://yalantis.com/)组织开源的图片裁剪库,支持缩放,旋转图片,支持各种比例的裁剪框,非常强大的一个图片裁剪库。使用1.添加包.compile
uCropAndroid 图片裁剪库
0