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. */