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
twothree 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:
![A decently busy reference screenshot](https://private-user-images.githubusercontent.com/2139424/268509706-c030bca9-1329-4b95-b9a2-4dbab8dd84d3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNDUzMTEsIm5iZiI6MTcyNjE0NTAxMSwicGF0aCI6Ii8yMTM5NDI0LzI2ODUwOTcwNi1jMDMwYmNhOS0xMzI5LTRiOTUtYjlhMi00ZGJhYjhkZDg0ZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMTI0MzMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yzc2NmFlNTA3YmQ3MDBmYTY5MjJhYjRkMTlhYzhjNjJiMjczZTcyMTBiNDJkODJmNWIwOWEwMzhlZWQyZDZjZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.VHDHsxGJKCyAhLQ7wpqnOGC3mt7NKBAf69z6N5kIxR8)
-e 1
GIF, optimized61,290 bytesThe text was updated successfully, but these errors were encountered: