Support Physical Pixel Dimensions
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 752
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
Some images (particularly when extracted from old ass media) don't have square pixels.
Sample.
This should end up being displayed in 16:9, but if you don't parse the right metadata it's just 3:2.
Additional context
http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8
https://gitlab.gnome.org/GNOME/gimp/-/issues/5285
https://bugzilla.mozilla.org/show_bug.cgi?id=333377
Contributor guide
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
Begin by reviewing the image-loading and display-sizing path for PNG physical pixel metadata. Use the supplied sample and the linked PNG specification and issue reports as references. Done means the sample is displayed at its intended 16:9 aspect ratio rather than 3:2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- computer-graphics, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100