LuckSiege / LuckSiege/PictureSelector
AndroidQ 采用裁剪 返回的cutpath 不对。 查看文件发现变黑色
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
android11返回是对的 但是androidQ 返回的图片是灰色
PictureSelector.create(this)
.openGallery(PictureMimeType.ofAll())
.selectionMode(PictureConfig.MULTIPLE)
.maxSelectNum(maxSelect)
.selectionData(selectData)
.cropImageWideHigh(1,1)
.isEnableCrop(isCorp)
.isAndroidQTransform(true)
.imageEngine(GlideEngine.createGlideEngine())
.forResult(object :
OnResultCallbackListener {
override fun onResult(result: List) {
// 结果回调
block.invoke(result as MutableList)
}
override fun onCancel() {
// 取消
}
})
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the crop flow from the issue's PictureSelector.create(this) example on Android Q, then compare the returned image with Android 11. Trace the isAndroidQTransform(true) and cropImageWideHigh(1,1) entry points; done means the cropped result is not gray or black and the returned cut path is correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100