Canvas and Grabpixmap. How?

BlitzMax Forums/BlitzMax Beginners Area/Canvas and Grabpixmap. How?

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.

You don't need to draw it to save part of it, and can avoid making it an image.

How about:

LoadPixmap() to load the whole image
CreateStaticPixmap() to define a static pixmap within the pixmap you loaded
SavePixmapPNG() the static pixmap