From a9a0fa0e1cee9fadb7399d710de26b0c0c895a65 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 8 Jul 2025 16:12:01 -0700 Subject: [PATCH] [sdl2-image] Remove support for unsupported image codecs Supporting these codecs would require adding more specific ports. Fixes: #24614 --- tools/ports/sdl2_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ports/sdl2_image.py b/tools/ports/sdl2_image.py index f4a358be4f056..8ab825a1225da 100644 --- a/tools/ports/sdl2_image.py +++ b/tools/ports/sdl2_image.py @@ -20,8 +20,8 @@ 'formats': 'A comma separated list of formats (ex: --use-port=sdl2_image:formats=png,jpg)', } -SUPPORTED_FORMATS = {'avif', 'bmp', 'gif', 'jpg', 'jxl', 'lbm', 'pcx', 'png', - 'pnm', 'qoi', 'svg', 'tga', 'tif', 'webp', 'xcf', 'xpm', 'xv'} +SUPPORTED_FORMATS = {'bmp', 'gif', 'jpg', 'lbm', 'pcx', 'png', + 'pnm', 'qoi', 'svg', 'tga', 'xcf', 'xpm', 'xv'} # user options (from --use-port) opts: Dict[str, Set] = {