• Sixel graphics

    From AKAcastor@21:1/162 to All on Thursday, March 14, 2024 16:29:34
    Is anybody using sixel graphics? I have been looking at them a bit, it is very slick how SyncTerm and some other terminals support it inline with text/ANSI.

    When I called Dock Sud BBS (bbs.docksud.com.ar) I was impressed with the sixel images in their logon sequence - after you login, you are shown a couple sixel images if your terminal supports them.

    I setup a script to convert the astronomy picture of the day to sixel format so it can be viewed on my BBS and it's been fun to check in and see the new picture daily. Somehow I find the APOD images more interesting in sixel format. :)

    I am curious about others' experience with sixels. Something I haven't figured out yet is if I can give terminals hints about scaling the images - while SyncTerm is showing the sixels fullscreen, if I connect with iTerm2 it doesn't scale the images up to fit the screen, so they look very small. I haven't done a ton of testing with different terminal clients yet either.


    Chris/akacastor

    --- Maximus 3.01
    * Origin: Another Millennium - Canada - another.tel (21:1/162)
  • From Ragnarok@21:2/151 to AKAcastor on Monday, April 01, 2024 20:22:24
    El 14/3/24 a las 13:29, AKAcastor escribió:
    Is anybody using sixel graphics? I have been looking at them a bit, it is very slick how SyncTerm and some other terminals support it inline with text/ANSI.

    When I called Dock Sud BBS (bbs.docksud.com.ar) I was impressed with the sixel images in their logon sequence - after you login, you are shown a couple sixel images if your terminal supports them.

    I setup a script to convert the astronomy picture of the day to sixel format so it can be viewed on my BBS and it's been fun to check in and see the new picture daily. Somehow I find the APOD images more interesting in sixel format. :)

    I am curious about others' experience with sixels. Something I haven't figured out yet is if I can give terminals hints about scaling the images - while SyncTerm is showing the sixels fullscreen, if I connect with iTerm2 it doesn't scale the images up to fit the screen, so they look very small. I haven't done a ton of testing with different terminal clients yet either.

    xterm support sixel too.

    you can run with:
    xterm -xrm "XTerm*decTerminalID: vt340" -xrm "XTerm*numColorRegisters: 256"

    then you can cat any .six file

    It's pretty funny if you could mix ansis and six on the same screen. You
    could make menus with certain graphics, without having to resort to
    ripscript
    --- SBBSecho 3.20-Linux
    * Origin: Dock Sud BBS - bbs.docksud.com.ar - Argentina (21:2/151)
  • From AKAcastor@21:1/162 to Ragnarok on Tuesday, April 02, 2024 11:51:18
    xterm support sixel too.

    you can run with:
    xterm -xrm "XTerm*decTerminalID: vt340" -xrm "XTerm*numColorRegisters: 256"

    then you can cat any .six file

    Nice! This is handy. On my macbook I installed iTerm2, which can also cat .six files, and it is pretty slick to see them inline with everything else in the terminal. (but I do have some scaling issues as I mentioned)

    It's pretty funny if you could mix ansis and six on the same screen. You could make menus with certain graphics, without having to resort to ripscript

    I would love to see this too!

    Lately I've been dreaming about a message editor for the BBS that would check messages for embedded URLs and if an image is found, display it inline in the message as sixel. (or if not inline, at least give an option to view the 'attachments') Being able to see images with messages, and having some level of link preview for other URLs, would be awesome.


    Chris/akacastor

    --- Maximus 3.01
    * Origin: Another Millennium - Canada - another.tel (21:1/162)