Improve screenshot function to save as PNG
Closed this issue · 0 comments
yestinj commented
The screenshot function currently saves a PPM file, this can be improved by instead saving to a PNG file.
It looks like only one or two functions will need to be changed to accomplish this. There is a method online to easily take a GLFrameBuffer and output it to a PNG file using libpng.