summaryrefslogtreecommitdiff
path: root/vba.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-06-12 12:38:28 -0400
committeryenatch <yenatch@gmail.com>2013-06-12 14:29:35 -0400
commit53af4e21e9063c0dc1fcc50cd328715726ca034d (patch)
tree89a66b694067b8613bc67b8f3045ef4748809724 /vba.py
parent85aad5c408548bc774eab41b47c42a4ab409df15 (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. original-commit-id: 5cf1754b08aa6903f01b839c917169e6dc8c260f
Diffstat (limited to 'vba.py')
0 files changed, 0 insertions, 0 deletions