#132174 - sylus101 - Sun Jun 24, 2007 5:14 am
Okay, here's the deal. I have several images that have 256 colors used.
I'm starting with a 16 bit image, converted and indexed by mtpaint (love that program) to a 256 paletted bmp. The actual project (it's completed for the most part, really) is a card viewer for Magic the Gathering written in DSLua for the NDS.
Now, the problem, is that on some of the pictures, when gfx2gba converts them, that last statement by the utility is that colors used before converting was 256, colors used after 253 (or just something less than 256... I have some that end up 254 or whatever). Colors saved 3.
Many don't do this... several will say 256 before and after with no colors saved. These all turn out looking great. On any that "save" colors I end up with black pixels in several spots on the images. I can't find any reason why this happens to one image and not another. I don't know if it's relevant or not, but I used DL3 Quantize and Floyd-Steinberg (non-quick) in mtPaint for conversion to 256 colors.
I've tried all of the parameters, several that sounded like they would work... and all end up doing the same thing if I try on a picture I know that ends up with the problem.
Does anyone know how to tell gfx2gba NOT to "Save" colors when converting??
Last edited by sylus101 on Sun Jun 24, 2007 8:14 pm; edited 1 time in total
I'm starting with a 16 bit image, converted and indexed by mtpaint (love that program) to a 256 paletted bmp. The actual project (it's completed for the most part, really) is a card viewer for Magic the Gathering written in DSLua for the NDS.
Now, the problem, is that on some of the pictures, when gfx2gba converts them, that last statement by the utility is that colors used before converting was 256, colors used after 253 (or just something less than 256... I have some that end up 254 or whatever). Colors saved 3.
Many don't do this... several will say 256 before and after with no colors saved. These all turn out looking great. On any that "save" colors I end up with black pixels in several spots on the images. I can't find any reason why this happens to one image and not another. I don't know if it's relevant or not, but I used DL3 Quantize and Floyd-Steinberg (non-quick) in mtPaint for conversion to 256 colors.
I've tried all of the parameters, several that sounded like they would work... and all end up doing the same thing if I try on a picture I know that ends up with the problem.
Does anyone know how to tell gfx2gba NOT to "Save" colors when converting??
Last edited by sylus101 on Sun Jun 24, 2007 8:14 pm; edited 1 time in total