GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Refresh image dimensions after quarter-turn rotations by antonsoo · Pull Request #194 · libtcod/python-tcod Conversation
Contributor
Refresh the dimensions from the native image after rotating. Regressions cover rectangular and square images, signed/full turn counts, and repeated quarter turns. A photograph-based array-to-semigraphics workflow matches NumPy rotation and a separately rendered reference console after the fix. Before, 20 of 54 configurations produced incorrect images and 30,720 differing console tiles; all 34 unaffected configurations remain identical. Validation: 11 regressions fail before and all 28 pass after. The full native
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #194 +/- ## ======================================= Coverage 86.08% 86.08% ======================================= Files 29 29 Lines 7589 7590 +1 ======================================= + Hits 6533 6534 +1 Misses 1056 1056 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I never gave the libtcod image port the scrutiny it deserved. It was a mistake for me to port it like this, and naturally I only tested rotation on a square image.
Thanks for fixing this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.