Re: Sixel Gallery
By: Codefenix to All on Mon Jun 20 2022 09:54 pm
I spent the last couple days putting together a sixel image browser in Javascript. It lists a menu of directories containing image files. When the user selects one, it calls Imagemagick to convert the selected image 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.
|01<|09co|03d|11e|15Ÿ|11e|03n|09ix|01>|07
---
þ Synchronet þ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-