From 9d5185f1d42320c1882e5ebb1621cb83a4abaf75 Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Mon, 15 May 2023 21:21:12 +0000 Subject: [PATCH] Allow viewing .six images via image-convert * lisp/files.el (auto-mode-alist): Support the Sixel .six image format. (Bug#63531) * lisp/image.el (imagemagick-enabled-types): Add SIX. (cherry picked from commit 7d41a23ad3b4c03ea1dea91eb70474f074dc05a4) --- lisp/files.el | 1 + lisp/image.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index ff55054a62d..43b023fae6e 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3297,6 +3297,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CBR\\|7Z\\|SQUASHFS\\)\\'" . ("\\.pict\\'" . image-mode) ("\\.rgb\\'" . image-mode) ("\\.rgba\\'" . image-mode) + ("\\.six\\'" . image-mode) ("\\.tga\\'" . image-mode) ("\\.wbmp\\'" . image-mode) ("\\.webp\\'" . image-mode) diff --git a/lisp/image.el b/lisp/image.el index 3d60b485c6b..73842894390 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -1174,7 +1174,7 @@ has no effect." KDC MIFF MNG MRW MSL MSVG MTV NEF ORF OTB PBM PCD PCDS PCL PCT PCX PDB PEF PGM PICT PIX PJPEG PNG PNG24 PNG32 PNG8 PNM PPM PSD PTIF PWP RAF RAS RBG RGB RGBA RGBO RLA RLE SCR SCT - SFW SGI SR2 SRF SUN SVG SVGZ TGA TIFF TIFF64 TILE TIM TTF + SFW SGI SIX SR2 SRF SUN SVG SVGZ TGA TIFF TIFF64 TILE TIM TTF UYVY VDA VICAR VID VIFF VST WBMP WPG X3F XBM XC XCF XPM XV XWD YCbCr YCbCrA YUV) "List of ImageMagick types to treat as images. -- 2.39.5