Skip to content

PNGDEC: Add horizontal/vertical flip and index alpha #1088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2025

Conversation

Gadgetoid
Copy link
Member

These are very useful - in conjunction with PNGDEC's source=(x, y, w, h) argument - for spritework.

Add reflect_x and reflect_y options to PNGDEC.

Internally these are now used in conjunction with swap_xy to achieve
reflection and rotation.
Support supplying a palette index to use as a transparent colour for
indexed PNG files without explicit transparency.
@Gadgetoid Gadgetoid force-pushed the feature/pngdec-reflection branch from f11cf5b to 906a900 Compare June 30, 2025 12:07
@Gadgetoid Gadgetoid merged commit bb0f89d into driver/ssd1680 Jul 14, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant