diff options
author | yenatch <yenatch@gmail.com> | 2013-06-12 12:38:28 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-06-12 14:29:35 -0400 |
commit | 5cf1754b08aa6903f01b839c917169e6dc8c260f (patch) | |
tree | 3d24ab71bcf914b7ee881a169c115f8e0183e453 /extras/vba_autoplayer.py | |
parent | c26d758fee2bc3a3af617430378bc7649d8f7b67 (diff) |
gfx: handling for <4-color pngs when converting to 2bpp
without a .pal file as reference, palettes are sorted by luminance.
pokemon crystal reads palettes exactly 4 colors in length.
if an image used fewer than 4 colors, invalid palettes were produced.
instead, dummy colors are inserted to pad out the palette.
Diffstat (limited to 'extras/vba_autoplayer.py')
0 files changed, 0 insertions, 0 deletions