7800-devtools / 7800basic

a BASIC-like language for creating games that run on the Atari 7800 console.
Other
23 stars 3 forks source link

Support all indexed png #8

Closed beoran closed 3 years ago

beoran commented 3 years ago

Currently 7800basic refuses to include indexed png if they have a byte_depth > 2. however, there are many PNG editors that always save indexed images with byte_depth 8, even if the palette has the right size. I use mtPaint which has this problem. Could such images be accepted as long as the palette size is correct?

beoran commented 3 years ago

I made a PR fro discussion #9.

msaarna commented 3 years ago

Sure looks good - thanks for the contribution. Merged into master.