I just took a screenshot (using screenshot and snapshot) and it threw a .tga/.bmp file with a 6MB size (and the screenshot command threw a .tga file, rare extension nowadays)
screenshot output

snapshot output

We should be getting a lower size image and not a 6mb one.
We can also implement a new cvar like on CS:GO cl_steamscreenshots and just let Steam take the photo.
Seems like a redundant change when you can just take a screenshot through steam with compression. The space of one or a few uncompressed images isn't a huge concern for modern computers anyway.
Seems like a redundant change when you can just take a screenshot through steam with compression. The space of one or a few uncompressed images isn't a huge concern for modern computers anyway.
I know, but these commands exists on the game, or we delete them or we just optimize them as they are throwing a 6mb file on each usage (on 1920x1080).
(also Steam screenshot aren't throwing quality photos anyway)
Steam has an option to save uncompressed versions of screenshots. Because of the nature of bmp and tga files, they're going to be about 6mb for a 1920x1080 image. If you want something of high quality, these are the best you're going to get.
True, but then snapshot and screenshot command should be deleted from the game as they are useless.
They can be useful for mods. tga and bmp files are pretty much the only image files used by goldsrc, and the commands are more convenient that getting an uncompressed image from steam and converting it. For example, you can take screenshots of a map and use that as a skybox texture.
There's not much point in removing something anyway, unless there's some exploit attached.
Most helpful comment
They can be useful for mods. tga and bmp files are pretty much the only image files used by goldsrc, and the commands are more convenient that getting an uncompressed image from steam and converting it. For example, you can take screenshots of a map and use that as a skybox texture.
There's not much point in removing something anyway, unless there's some exploit attached.