processing / processing/p5.js

p5 image scaling(resize func) screw up image quality

Open
#5,306 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area:Image Enhancement
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

p5 image scaling screw up image quality

image(dogeplayer, this.x- 25, this.y - 25);
dogeplayer.resize(this.r + 40, this.r + 40);

Most appropriate sub-area of p5.js?
  • [*] Image
  • [*] IO (Input/Output)

Screenshot_37
Screenshot_38

Contributor guide

Open the contributing guide

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

Start by reproducing the reported image(dogeplayer, ...) and dogeplayer.resize(...) example in p5.js, then trace the image resize path. Compare the resized output with the original screenshots; done means resizing no longer visibly degrades image quality.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.