Pixmap and Image

BlitzMax Forums/BlitzMax Beginners Area/Pixmap and Image

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hello,

Here's what i'm trying to achieve:

I have an image that i need to access its pixel information. I understand i have to go through a pixmap for that. Now, the Timage i will never need, only the pixmap. Must i load a TImage and then use LockImage to get my TPixMap or is there a way to only have a TPixMap? (the image is a png on disk)