ftsf / nico

a Game Framework in Nim inspired by Pico-8.
MIT License
630 stars 36 forks source link

Simple fix for loading sprites with RGB (not RGBA) color palettes #70

Closed madasebrof closed 2 years ago

madasebrof commented 2 years ago

If you save PNGs from apps like Photoshop, if there is no Alpha channel, they don't save an Alpha channel in the PNG file. This was causing import errors. I added a simple fix.

ftsf commented 2 years ago

Hi thanks for that, but would you be able to limit the PR to just the RGB change?

ftsf commented 2 years ago

This has been fixed via another commit