getImagePickerIntent

open fun getImagePickerIntent(): Intent

获取跳转至相册选择界面的Intent

open fun getImagePickerIntent(outputX: Int, outputY: Int, fromFileURI: Uri, saveFileURI: Uri): Intent
open fun getImagePickerIntent(aspectX: Int, aspectY: Int, outputX: Int, outputY: Int, fromFileURI: Uri, saveFileURI: Uri): Intent

获取[跳转至相册选择界面,并跳转至裁剪界面,默认可缩放裁剪区域]的Intent

open fun getImagePickerIntent(aspectX: Int, aspectY: Int, outputX: Int, outputY: Int, canScale: Boolean, fromFileURI: Uri, saveFileURI: Uri): Intent

获取[跳转至相册选择界面,并跳转至裁剪界面,可以指定是否缩放裁剪区域]的Intent

Parameters

aspectX

裁剪框尺寸比例X

aspectY

裁剪框尺寸比例Y

outputX

输出尺寸宽度

outputY

输出尺寸高度

canScale

是否可缩放

fromFileURI

文件来源路径URI

saveFileURI

输出文件路径URI