Pixmap and Image
BlitzMax Forums/BlitzMax Beginners Area/Pixmap and Image
| ||
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) |
| ||
pix:TPixmap = LoadPixmap("myimage.png") If you need the image later on, you can do this: img:TImage = LoadImage(pix) |
| ||
Thanks alot |