LuckSiege / LuckSiege/PictureSelector

压缩后,出现纯黑色或者只有上面一点点图片问题

Open
#2,091 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

选择完图片获取到realPath或者compressPath后转成Bitmap,发现是纯黑色或者只有上面一点点图片 ,其他部分是黑色的,等待修复,目前发现的机型都是harmong os,鸿蒙2.0 version:v2.5.9,和[https://github.com/LuckSiege/PictureSelector/issues/2044](url) 类似

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by converting the realPath or compressPath result to a Bitmap on HarmonyOS 2.0 with PictureSelector v2.5.9. Compare the behavior with issue 2044 and inspect the image compression and path-handling flow. Done means the resulting Bitmap displays the complete image rather than a black or partially rendered image.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.