gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > picture

#73406 - iut - Sat Feb 25, 2006 11:38 am

I 've a problem for print a picture
I want with gfx2gba a picture in 16bits with a "palette"
But in 16 bits you have not palette
I try with -c32k :
gfx2gba -fsrc -c32f -pnameimage.pal nameimage.bmp (or pcx)

#73626 - gauauu - Mon Feb 27, 2006 3:15 am

First, Probably should have posted this to graphics, not coding.

Second, what do you really mean you want a 16-bit paletted picture? The point of paletted pictures is that you reduce the number of colors your picture can support, so that you can represent individual pixels with fewer bits. But the gba can't support color-depth beyond 16 bits, so there's no colors to reduce FROM.

In gba, paletted images are 4 bpp or 8 bpp. 16bpp are full-color. There's no way around it.