Add screenshot button to export current screen content
Open, Needs TriagePublic


SDL_Surface * surf = SDL_CreateRGBSurfaceFrom(pixels, w, h, 8*4, w*4, 0,0,0,0);
SDL_SaveBMP(surf, filename);

Would that really save much time/effort?

I do:
Alt + Printscreen with the visualizer open and then on Ctrl+V
Even having to type in a filename to save would take me longer...

BAndiT1983 added a comment.EditedMay 4 2020, 7:15 PM

It's really not a lot of code to do and would save only the framebuffer to file. Just a nice to have feature, like we did it for OC.

PS: Also i see it as a task for newcomers, so they can learn the visualiser structure.

Understood and convinced :)