From 9284a8f72a6284e4f7cc2b3406700983ce2f9c8d Mon Sep 17 00:00:00 2001 From: 2mal3 <56305732+2mal3@users.noreply.github.com> Date: Wed, 10 Jun 2026 23:50:08 +0200 Subject: [PATCH] display/TakeScreenshot: use .jpg smaller images closes #44 --- display/pkg/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display/pkg/main.go b/display/pkg/main.go index 319471a..952710b 100644 --- a/display/pkg/main.go +++ b/display/pkg/main.go @@ -17,7 +17,7 @@ import ( ) func TakeScreenshot() (string, error) { - tempFilePath := filepath.Join(os.TempDir(), fmt.Sprintf("screenshot_%d.png", time.Now().Unix())) + tempFilePath := filepath.Join(os.TempDir(), fmt.Sprintf("screenshot_%d.jpg", time.Now().Unix())) cmds := []*exec.Cmd{ exec.Command("gnome-screenshot", "-f", tempFilePath),