Creating images from png

BlitzMax Forums/BlitzMax Programming/Creating images from png

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.

This is how I'm currently doing it. I guess you can just load the image as a pixmap if you want, and dispense with the LockImage stuff.
image.tImage = LoadImage("myImage.png")
frame:tImage = LoadImage(PixmapWindow(LockImage(image),x,y,width,height))