我阅读了很多关于从图库或相机中裁剪图像的帖子,我知道outputX/outputY指的是输出/裁剪图像的大小.但是,没有人解释过aspectX/aspectY做了什么?outputX/outputY的单位是多少?是dp吗?
dp
示例代码:修改Android裁剪意图
android crop android-camera-intent
android ×1
android-camera-intent ×1
crop ×1