From b8a21c2407a9898a538852098eca5658de5afd37 Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 21 Jun 2024 00:05:25 +0200 Subject: img, term: try to detect unknown images, improve kitty encoder * preserve alpha in kitty + simplify encoder * pass unknown image types to stbi (as image/x-unknown) and let it detect the type --- res/urimethodmap | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'res/urimethodmap') diff --git a/res/urimethodmap b/res/urimethodmap index 0169c24d..dd9b5e94 100644 --- a/res/urimethodmap +++ b/res/urimethodmap @@ -1,22 +1,23 @@ # Default urimethodmap file for Chawan. -http: cgi-bin:http -https: cgi-bin:http -finger: cgi-bin:cha-finger -gemini: cgi-bin:gmifetch -about: cgi-bin:about -data: cgi-bin:data -file: cgi-bin:file -ftp: cgi-bin:ftp -sftp: cgi-bin:ftp -ftps: cgi-bin:ftp -gopher: cgi-bin:gopher -gophers: cgi-bin:gophers -spartan: cgi-bin:spartan -man: cgi-bin:man -man-k: cgi-bin:man -man-l: cgi-bin:man -img-codec+png: cgi-bin:stbi -img-codec+jpeg: cgi-bin:stbi -img-codec+gif: cgi-bin:stbi -img-codec+bmp: cgi-bin:stbi +http: cgi-bin:http +https: cgi-bin:http +finger: cgi-bin:cha-finger +gemini: cgi-bin:gmifetch +about: cgi-bin:about +data: cgi-bin:data +file: cgi-bin:file +ftp: cgi-bin:ftp +sftp: cgi-bin:ftp +ftps: cgi-bin:ftp +gopher: cgi-bin:gopher +gophers: cgi-bin:gophers +spartan: cgi-bin:spartan +man: cgi-bin:man +man-k: cgi-bin:man +man-l: cgi-bin:man +img-codec+png: cgi-bin:stbi +img-codec+jpeg: cgi-bin:stbi +img-codec+gif: cgi-bin:stbi +img-codec+bmp: cgi-bin:stbi +img-codec+x-unknown: cgi-bin:stbi -- cgit 1.4.1-2-gfad0