From 250909a6f341cd08c9691b265ff3b285f90cf550 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 6 Mar 2021 11:48:15 +0100 Subject: [PATCH] CLI option for vertical shots --- screenshot.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/screenshot.cpp b/screenshot.cpp index f5f86dc3..dc9e9f66 100644 --- a/screenshot.cpp +++ b/screenshot.cpp @@ -858,6 +858,12 @@ int png_read_args() { shot::shoty = 1000; shot::transparent = false; } + else if(argis("-shot-vertical")) { + shot::shotformat = -1; + shot::shotx = 720; + shot::shoty = 1080; + shot::transparent = false; + } else if(argis("-shotaa")) { shift(); shot_aa = argi(); }