saving stuff

BlitzMax Forums/BlitzMax Programming/saving stuff

how do i save what appears in the command window as a bmp file?

mmm... I'm not sure if that's possible

sorry... not command, graphics.

I don't think you can. You can save it as PNG tho'.

how do i use savepixmappng to save something the program user creates?

Make your own BMP saver. The BMP file format is very very simple, you should be able to figure it out. Google for the many programming sites that tell you the format. It's as simple as a little `header` and some data.

You do

GrabPixmap

then

SavePixmapPNG

Didn't you ask the same question here

As far as image formats go, BMP is one of the easiest... There are some sub-formats though, depending on whether or not you want to compress the data. Leads to slightly smaller files, but a lot more work.