Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
th06 asking for PNG files with indexed coulors was not due to th06 ne…
…eding PNG files with indexed coulors, but to a buffer overflow check that wasn't covered by BP_size, in the PNG parsing function (see thcrap-tsa/4be5e0b). That means all this stuff about creating PNG files with indexed coulors was useless ; th06 supports regular RGB PNG files everywhere. And since this stuff is quite heavy on CPU and degrades the image to reduce it to 256 colors, we'd better remove it.
- Loading branch information
Showing
2 changed files
with
2 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters