Subj : Sixel Gallery - Viewable File Mod
To : All
From : Codefenix
Date : Wed Feb 08 2023 09:13 am
Re: Sixel Gallery
By: Codefenix to All on Mon Jun 20 2022 09:54 pm
Co> I spent the last couple days putting together a sixel image browser in
Co> Javascript. It lists a menu of directories containing image files. When
Co> the user selects one, it calls Imagemagick to convert the selected image
Co> to sixel format, and then displays the resulting sixel to the user.
I tweaked my Sixel Gallery script a bit, adding an optional image path argument. If used, simply displays the specified image converted to sixel and ends. Using this small mod, I set up GIF, JPG, PNG, and BMP as Viewable File Types in SCFG. So now whenever someone browses directories containing images (e.g.: GIFs Galore CD-ROM), if they go into Extended Info for any image file and hit V to view it, they are shown a sixel preview of the image.
This same mod can be used in ansiview.js for artpacks containing image formats. I modded mine here so it shows a sixel version of any non-ANSI art file.