Page 1 of 1

screenshot file size

Posted: Thu Jan 04, 2018 3:45 am
by Nexarius
I've tested out the screenshot feature and it's really making great screenshots but the file sizes are insane.
/c game.take_screenshot{resolution = {x = 16384, y = 16384}, zoom = 2, show_entity_info = true}
That resolution is the maximum possible and it generated a 450(!) MB png image.
I converted and compressed that image down to 35 MB without losing quality.
This is the 35MB jpg (sry can't show you the png don't want to upload 450MB).
1.jpg
1.jpg (35.05 MiB) Viewed 674 times
This is a zoomed in comparison after I compressed it.
I don't think anyone would complain if all screenshots done by the command would "only" look like the jpg.
test.PNG
test.PNG (3.44 MiB) Viewed 674 times
I'm not an expert at image compression and I managed to reduce the size by more than 90% at the first try. I'm sure it can be done even better.
Could you please add image compression to the screenshot command?