How to SaveBuffer()
BlitzMax Forums/BlitzMax Programming/How to SaveBuffer()| 
 | ||
| How can I SaveBuffer() with blitzmax? | 
| 
 | ||
| See GrabPixmap and SavePixmapPNG. | 
| 
 | ||
| GfK, I have looked over the documentation. Can you provide an example of this in use? | 
| 
 | ||
| Well, both commands are documented.  Grabpixmap is used to grab the entire screen (or a portion of) into a pixmap.  Savepixmappng saves the pixmap to a specified file, in png format. | 
| 
 | ||
| Got it! :D  Can I save in a different image format besides png? What image formats are supported? Sorry, im very used to saving images in blitzbasic and have no experience doing so in blitzmax. Thanks GfK! :D | 
| 
 | ||
| Well, theres also Savepixmapjpeg but png is a lossless format so thats generally what i use. |