Hi dudes!
After doing a sprite sheet creator, I'd like to convert it from PNG (actually a QPixmap on memory) to PVR (a propietary iPhone compressed format).
Creating a PVR texture with PVRLib requires evidently I pass it a pointer to my image, using raw format. It is similar to glTexImage2D and its "const GLvoid *pixels" parameter.
My question is how can I extract a raw image or pointer from a QPixmap? Or should I convert this QPixmap to QImage or QPicture....?
After reading docs I don't see anything, or maybe I'm blind
Thanks a lot for your help.
Bookmarks