Save Image?

BlitzMax Forums/BlitzMax Beginners Area/Save Image?

I must be really dense here, but I want to make a screenshot and save it to disk. BlitzPlus had SaveImage but Max doesn't? So if I grab an image from the backbuffer and want to save it, how would you recommend I do this? Thanks.

P.S. I used to save as bitmap, but would prefer PNG if possible.

Hi
Grabpixmap and SavePixmapPng
Mfg Suco

Grey Alien,
There's an example code here from my tutorial. Scroll down to Function SaveAnimation.

thanks people, I was looking in the Max2D section, should looked at PixMaps.

Has someone written a function to save images as jpg, yet?

quite old but might help
and more recent

Thanks TonyG.

Can't get it to work... 1.18 :/
"C:/Programme/BlitzMax/mod/brl.mod/jpgloader.mod/jpgloader.release.win32.x86.a(jpgloader.bmx.release.win32.x86.o.b)(code+0x311): undefined reference to `savejpg'"

"SavePixmapJPG" from BRL would be great!

Isn't there the old JPEG licence issue to content with?