Skip to content

Conversation

@shinny456
Copy link
Contributor

@shinny456 shinny456 commented Jan 24, 2025

Removes gbagfx code that pads the PNG palette to 256 colors.

Description

When converting GBA graphics to PNG, if the gbapal file provided has less than 256 colors (and more than 16), the PNG palette is padded with zeros, because gbagfx assumes that the PNG format can only accept 16 or 256 colors when a palette is used (as seen by the removed comment). It might be worth checking if any PNGs in the repo have more colors than needed in their palette, and regenerating them if so.

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