Xonotic Forums
[SUGGESTION] PNG format screenshot - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Suggestion Box (https://forums.xonotic.org/forumdisplay.php?fid=20)
+--- Thread: [SUGGESTION] PNG format screenshot (/showthread.php?tid=1826)



PNG format screenshot - Icyton - 05-15-2011

Hi, in Nexuiz the screenshots you take with the built-in screenshot command is in JPEG format, this is not good because JPEG uses lossy compression, screenshots should be in PNG format. So i suggest that PNG-screenshots should be a feature of Xonotic.


RE: PNG format screenshot - BARTUC - 05-15-2011

If i'm not wrong in nexuiz there is a command for the quality .... maybe in xonotic too Smile


RE: PNG format screenshot - sev - 05-15-2011

Just set "scr_screenshot_jpeg 0", either in the console or manually in the config file.
This way screenshots are saved as uncompressed targa files (.tga).


RE: PNG format screenshot - Mirio - 05-15-2011

(05-15-2011, 02:58 PM)sev Wrote: Just set "scr_screenshot_jpeg 0", either in the console or manually in the config file.
This way screenshots are saved as uncompressed targa files (.tga).

Code:
scr_screenshot_png 1
to get png files. Wink

Also you can write
Code:
scr_screenshot
and press TAB to get a list of all available commands.


RE: PNG format screenshot - noobermin - 05-15-2011

I personally am a fan of the lossless compression on png but jpeg is more popular, i guess.


RE: PNG format screenshot - Icyton - 05-16-2011

But PNG should be default, JPEG is a sucky format. BTW, how do i set this? It doesnt work by putting it in config.cfg.


RE: PNG format screenshot - Mirio - 05-16-2011

You start the game and open the console (Shift+ESC) and then you type
Code:
scr_screenshot_png 1

and press Enter.


RE: PNG format screenshot - Icyton - 05-16-2011

I found out myself, but thanks anyway.


RE: PNG format screenshot - sev - 05-16-2011

(05-15-2011, 03:21 PM)Mirio Wrote:
Code:
scr_screenshot_png 1
to get png files. Wink

Cool, didn't know that. Is this new, or has it already been implemented in Nex?
Though compression isn't very good. You can reduce the file size considerably when saving it for example with Gimp (~ -40% with compression level 9)