Hi,
In the Sdl_test.c example code ... there is a IMG_LoadRW that reads a image to a sdl_surface from an array in memory.
Do you know how to convert one bmp,pcx,png into an array compatible with this function??
Do you have any working example, please???
I havent tried the old gpsdk gpconverter app, but i think is a different format.
This format is just the image file bytes copied to an array, without decoding the image. This is what i think after hacking the array, but i havent able to create a working array using any file2array app i found
Aiken
In the Sdl_test.c example code ... there is a IMG_LoadRW that reads a image to a sdl_surface from an array in memory.
Do you know how to convert one bmp,pcx,png into an array compatible with this function??
Do you have any working example, please???
I havent tried the old gpsdk gpconverter app, but i think is a different format.
This format is just the image file bytes copied to an array, without decoding the image. This is what i think after hacking the array, but i havent able to create a working array using any file2array app i found
Aiken