aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorDiego Martinez <kaeza@users.sf.net>2016-03-07 19:09:07 -0300
committerShadowNinja <shadowninja@minetest.net>2016-03-12 17:12:43 -0500
commit2c72f6da7b7595d2e180937f05f902c510ef1c14 (patch)
treed35836c6f3b45fc33eb978d66b77c9f10a2aa335 /builtin
parent37b4f0d34c73de58e0f5d153b7e699dc7430e23d (diff)
downloadminetest-2c72f6da7b7595d2e180937f05f902c510ef1c14.tar.gz
minetest-2c72f6da7b7595d2e180937f05f902c510ef1c14.tar.bz2
minetest-2c72f6da7b7595d2e180937f05f902c510ef1c14.zip
Add options for screenshot format and quality
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 1672e08ca..c1157b163 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -554,6 +554,14 @@ fallback_font_shadow_alpha (Fallback font shadow alpha) int 128 0 255
# Path to save screenshots at.
screenshot_path (Screenshot folder) path
+# Format of screenshots.
+screenshot_format (Screenshot format) enum png png,jpg,bmp,pcx,ppm,tga
+
+# Screenshot quality. Only used for JPEG format.
+# 1 means worst quality; 100 means best quality.
+# Use 0 for default quality.
+screenshot_quality (Screenshot quality) int 0 0 100
+
[**Advanced]
# Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k screens.