From 612f6dddf4cf6ff3579c331d1a28fe65a8f56bb4 Mon Sep 17 00:00:00 2001 From: Vandra-Meyer Akos Date: Wed, 6 May 2026 12:07:31 +0200 Subject: [PATCH] reduce default values for gif max width --- Kconfig | 2 +- lv_conf_template.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kconfig b/Kconfig index 357ffc8479..3ce3ac9e52 100644 --- a/Kconfig +++ b/Kconfig @@ -1581,7 +1581,7 @@ menu "LVGL configuration" config LV_GIF_MAX_WIDTH int "Maximum GIF canvas width in pixels (GIFs wider than this are rejected)" depends on LV_USE_GIF - default 32768 + default 480 config LV_GIF_MAX_HEIGHT int "Maximum GIF canvas height in pixels (GIFs taller than this are rejected)" diff --git a/lv_conf_template.h b/lv_conf_template.h index 46819f0a85..2450efa4ff 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -1041,7 +1041,7 @@ /** Maximum GIF canvas width in pixels. * GIFs wider than this value will be rejected with GIF_TOO_LARGE. * Decrease this value to save RAM. */ - #define LV_GIF_MAX_WIDTH 32768 + #define LV_GIF_MAX_WIDTH 480 /** Maximum GIF canvas height in pixels. * GIFs taller than this value will be rejected with GIF_TOO_LARGE. * Decrease this value to save RAM. */