Very Strange: Won't SaveImage
Blitz3D Forums/Blitz3D Beginners Area/Very Strange: Won't SaveImage
| ||
I'm trying to take a screenshot (or 10) and for some reason, it just won't do it: If KeyHit(10) SaveBuffer(BackBuffer(),"Images\screenshot.jpg") End If That is in my main loop. I have tried several different keys, and all of them do nothing. I'm probably missing something very obvioius. I've taken screenshots with blitz before. |
| ||
Try SaveBuffer FrontBuffer(), FileName$ I 'think' you can only save as .bmp though, not .jpg Rhy |
| ||
Yup - Blitz can only save images in .bmp format. Which is most likely the problem unless you're getting black screens saved out, in which case you're trying to save the image somewhere between the Cls and stuff being drawn. |
| ||
I fixed it. It wasn't between flip and cls. |
| ||
I made that same mistake not long ago in Blitzplus. So frustrating. :-) |