How To Properly Load PNG files into GapiDraw?
Posted: Feb 17, 2007 @ 11:14am
Based on my information from GapiDraw documentation, if I have a set of .png files stored in GapiVFS, I should them via CGapiFileBuffer::Open().
I can do that, however, then, if I load .png files, I need to know file height, file length, and additional parameters. How to access those parameters, please?
An alternative seems to be loading image file into CGapiSurface(), but this class is designed for outputting data to screen and not to hold dozens of resource images.
Could I kindly ask, what way is the correct one, to load several TileSet .png images into PocketPC memory?
Thank you and with regards,
Rene.
I can do that, however, then, if I load .png files, I need to know file height, file length, and additional parameters. How to access those parameters, please?
An alternative seems to be loading image file into CGapiSurface(), but this class is designed for outputting data to screen and not to hold dozens of resource images.
Could I kindly ask, what way is the correct one, to load several TileSet .png images into PocketPC memory?
Thank you and with regards,
Rene.