LuckSiege / LuckSiege/PictureSelector
Canvas: trying to draw too large
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
Current use version?
当前使用的版本是多少?
3.11.1
Will this problem occur in demo?
Demo能否复现这问题?
否
Describe the problem or provide an error log?
描述问题或提供错误log?
java.lang.RuntimeException Canvas: trying to draw too large(108576768bytes) bitmap. at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no file, test, or entry point; begin by reproducing the Android Canvas failure with PictureSelector 3.11.1, noting that it is reported as absent from the demo. Trace the path that produces the 108576768-byte bitmap and verify that the same large-image case no longer crashes.
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