Compress rapid-fire screenshots #54
Labels
Enhancement
New feature or request
Graphics
~≤0.33 pushes
Projected number of pushes needed. Might turn out to get more expensive!
The original game's screenshot feature (#15) only writes uncompressed .BMP files that take up quite a bit of disk space. Due to the rapid-fire nature of these screenshots, this can add up to hundreds of MB very quickly.
Nowadays, there are two main contenders for lossless compressed image formats:
GIF: Would actually compress only slightly worse than PNG, but 256 colors are probably not enough once Direct3D-rendered transparent shapes come into play.None of these are part of SDL, so we'd have to add another library in any case.
Here's a decently busy reference screenshot:
GIF, optimized61,290 bytesDespite the slow compression, I'm still heavily leaning towards PNG. If the compression does result in frame drops, the resulting slowdown can provide a nice feedback to players that their hard drive is currently blasted with new image files.
The text was updated successfully, but these errors were encountered: