GP32 Bmp Scrambled


Loridan

Still Fresh
Joined
Jan 13, 2004
Messages
42
I have converted 320/240 bitmap to a c file. Its always the same thing. I include the file, feed the array into gpbitblt and the result is scrambled crap all over the screen. Can someone tell me what causes this. Yes, I know that there are gpi and image libraries and all kinds of info for other sdk. Im on the official sdk. I have tried others tools as well to make sure it wasnt just my code, but its always the same. Does any one know what causes an image to scramble on the screen.
 
Bitmap to C is not enough, as you'll get the header information and possibly some RLE with that. GPSDK wants some plain pixel->byte stuff, assuming you are using 8bit mode. For windows, there's some tool (GpConvert or something similar), maybe some windows using developer can help you with that.
 
don posted on Apr 5 2004 at 09:44 PM said:
Bitmap to C is not enough, as you'll get the header information and possibly some RLE with that. GPSDK wants some plain pixel->byte stuff, assuming you are using 8bit mode. For windows, there's some tool (GpConvert or something similar), maybe some windows using developer can help you with that.
If that is the case, and Im not saying that it isnt. Then why do these other tools exist? Im converting to bin and then to c. Using bmp2bin and bin2c. If these tools do not work, then why do we have them?
 
Last edited by a moderator:
Looks like Im going to have to answer my own question. There is nothing wrong with my tools. I didnt know that I had to rotate the image.
 
Back
Top