Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

images are displayed without resizing

Open
#814 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java

Research direction

Start by reading PhotoView.java at setImageURI() around line 122 and the surrounding image-loading path. Clarify the target resize policy and expected API behavior; done means images are resized before decoding while PhotoView display and zoom interaction continue to work.

Written by the indexing model from the issue text.

Description

🏗 Enhancement Proposal

I noticed that in the following code in PhotoView, images are displayed directly without resizing:
com.github.chrisbanes.photoview.PhotoView.java setImageURI() (line 122)
https://github.com/Baseflow/PhotoView/blob/master/photoview/src/main/java/com/github/chrisbanes/photoview/PhotoView.java#L121

For the images to be displayed, in many cases, they are larger than required. Because the bitmap display in an app is memory consumption, maybe we should resize the images before decoding them, which can reduce memory overhead and help make app more smooth in user interaction.

Thanks.

Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from Baseflow/PhotoView

All issues in Baseflow/PhotoView

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.