设置自由剪裁图片功能
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed Dec 03 12:17:39 GMT 2025
|
||||
#Wed Dec 03 12:54:41 GMT 2025
|
||||
stageCount=13
|
||||
libraryProject=
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.12
|
||||
buildCount=137
|
||||
buildCount=139
|
||||
baseBetaVersion=15.11.13
|
||||
|
||||
@@ -458,8 +458,11 @@ public class BackgroundSettingsActivity extends WinBoLLActivity implements Backg
|
||||
intent.putExtra("aspectX", viewWidth / gcd);
|
||||
intent.putExtra("aspectY", viewHeight / gcd);
|
||||
} else {
|
||||
intent.putExtra("aspectX", 1);
|
||||
intent.putExtra("aspectY", 1);
|
||||
// 真正自由裁剪:移除aspectX/aspectY参数(不设置则裁剪窗口可自由调整比例)
|
||||
LogUtils.d(TAG, "【裁剪比例】启用真正自由裁剪(移除固定比例限制)");
|
||||
// 注释或删除以下两行代码(不设置aspectX/aspectY,裁剪窗口即可自由调整宽高比)
|
||||
// intent.putExtra("aspectX", 1);
|
||||
// intent.putExtra("aspectY", 1);
|
||||
}
|
||||
|
||||
// 输出尺寸设置(统一用2048,适配所有版本)
|
||||
|
||||
Reference in New Issue
Block a user