• Sixel Gallery - Viewable

    From Codefenix@VERT/CONCHAOS to All on Wed Feb 8 09:13:00 2023
    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 ]=-
  • From Digital Man@VERT to Codefenix on Wed Feb 8 10:16:00 2023
    Re: Sixel Gallery - Viewable File Mod
    By: Codefenix to All on Wed Feb 08 2023 09:13 am

    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.

    That's really cool! Care to share those mods?
    --
    digital man (rob)

    Breaking Bad quote #12:
    [Walt] Looks like Keith Richards with a glass a warm milk! - Hank Schrader Norco, CA WX: 65.6F, 28.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Codefenix@VERT/CONCHAOS to Digital Man on Wed Feb 8 21:13:15 2023
    Re: Sixel Gallery - Viewable File Mod
    By: Digital Man to Codefenix on Wed Feb 08 2023 10:16 am

    That's really cool! Care to share those mods?

    Gladly! I just uploaded sixelgallery.js to Vert.

    Hopefully my readme.txt makes sense. Let me know if any issues.

    |01<|09co|03d|11e|15|11e|03n|09ix|01>|07
    ---
    Synchronet -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
  • From Nelgin@VERT/EOTLBBS to Codefenix on Wed Feb 8 23:48:16 2023
    Re: Sixel Gallery - Viewable File Mod
    By: Codefenix to All on Wed Feb 08 2023 09:13:23

    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.

    Sounds like something that could or should be added to gitlab so others have it available if they want to use it. Maybe discuss with echicken since I believe he wrote/maintains ansiview.
    ---
    Synchronet End Of The Line BBS - endofthelinebbs.com
  • From echicken@VERT/ECBBS to Nelgin on Thu Feb 9 16:04:49 2023
    Re: Sixel Gallery - Viewable File Mod
    By: Nelgin to Codefenix on Wed Feb 08 2023 23:48:16

    Sounds like something that could or should be added to gitlab so others have it available if they want to use it. Maybe discuss with echicken since I believe he wrote/maintains ansiview.

    I have zero interest in it at the moment, so go nuts. :D

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From Nelgin@VERT/EOTLBBS to All on Wed Feb 15 13:53:18 2023
    On Thu, 9 Feb 2023 16:04:49 -0500
    "echicken" <echicken@VERT/ECBBS> wrote:

    Re: Sixel Gallery - Viewable File Mod
    By: Nelgin to Codefenix on Wed Feb 08 2023 23:48:16

    Sounds like something that could or should be added to gitlab so
    others have it available if they want to use it. Maybe discuss
    with echicken since I believe he wrote/maintains ansiview.

    I have zero interest in it at the moment, so go nuts. :D

    You have me confused for someone who knows how to do stuff ;)
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    Synchronet End Of The Line BBS - endofthelinebbs.com