Skip to content

Conversation

@sowjanyakch
Copy link
Contributor

fix #5600

🚧 TODO

  • ...

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Codacy

Lint

TypemasterPR
Warnings9999
Errors00

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1010
Dodgy code5454
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total8181

@sowjanyakch sowjanyakch self-assigned this Dec 3, 2025
@sowjanyakch sowjanyakch added the 3. to review Waiting for reviews label Dec 3, 2025

// solution inspired by https://developer.android.com/topic/performance/graphics/load-bitmap
private fun decodeBitmap(path: String, requestedWidth: Int, requestedHeight: Int): Bitmap =
private fun decodeBitmap(path: String, requestedWidth: Int, requestedHeight: Int): Bitmap? =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you try out some things why it actually fails?
E.g. did you try with specials chars in path like in the other recent PR? So the same fix could be applied..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE in BitmapShrinker

3 participants