• Sixel Gallery

    From Codefenix@VERT/CONCHAOS to All on Mon Jun 20 21:54:15 2022
    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. Imagemagickãconversion is pretty quick, depending on the size and complexity of the imageãbeing converted.ããThe mod requires SyncTERM. If a user runs it in a terminal other than SyncTERM,ãit offers a polite error message and quits.ããFor now I have it set up on my board to browse through stuff like the GIFsãGalore CD and the Earth Science pictures of the day from fsxNet. So now usersãneedn't necessarily download files from the board in order to view them.ããI expect I'll spend more time giving it some more polish, but it's available inãmy doors menu if anyone wants to come try it out. ãã|01<|09co|03d|11e|15Ÿ|11e|03n|09ix|01>|07ãã---ã þ Synchronet þ -=[ conchaos.synchro.net | ConstructiveChaos BBS ]=-ã
  • From Apam@VERT/POSITRON to Codefenix on Tue Jun 21 14:52:01 2022
    Re: Sixel Galleryã By: Codefenix to All on Mon Jun 20 2022 09:54 pmãã Co> The mod requires SyncTERM. If a user runs it in a terminal other thanã Co> SyncTERM, it offers a polite error message and quits.ããActually, it also works on MagiTerm :) I was trying it out earlier. I did notice some differences when comparing the two. ãã * Syncterm displays the sixel while loading it, whereas magiterm waits for it to load before displaying it.ãã * Syncterm moves the cursor to the end of the sixel image, magiterm the cursor stays where it was when sending the sixel.ããI'm guessing you're scaling images to fit to the screen with image magick as well as converting them? If so perhaps that could be an option, or just scale so the width fits? Syncterm / Magiterm both scroll sixel images that are to high for the screen. ããAs for width, Syncterm doesn't do any scaling / scrolling (as far as I can tell) Magiterm will scale images wider than the screen so they fit width ways.ããAnyway, cool mod & well done :)ããAndrewãã---ã þ Synchronet þ The Positronic Brain - positronicbrain.net:11892ã
  • From Codefenix@VERT/CONCHAOS to Apam on Tue Jun 21 09:12:21 2022
    Re: Sixel Galleryã By: Apam to Codefenix on Tue Jun 21 2022 02:52 pmãã Ap> Actually, it also works on MagiTerm :) I was trying it out earlier. I didã Ap> notice some differences when comparing the two. ã Ap> * Syncterm displays the sixel while loading it, whereas magiterm waits forã Ap> it to load before displaying it. ã Ap> * Syncterm moves the cursor to the end of the sixel image, magiterm theã Ap> cursor stays where it was when sending the sixel. ããNice to know it also works in MagiTerm! I didn't realize MagiTerm sent version info to SBBS like SyncTerm does. I'll amend my message based on this.ãã Ap> I'm guessing you're scaling images to fit to the screen with image magickã Ap> as well as converting them? If so perhaps that could be an option, or justã Ap> scale so the width fits? ããThat's correct, I'm including scaling in the convert call because I wanted toãensure the entire image would fit in the terminal window. I did consider makingãthe scaling optional, so maybe an enhancement for later. ãã Ap> Syncterm / Magiterm both scroll sixel images thatã Ap> are to high for the screen. ããThat's interesting, because for me scrolling back in SyncTerm seems to destroy the sixel image; it just disappears completely. Maybe I'm doing something wrong?ãã Ap> Anyway, cool mod & well done :)ããMuch appreciated! Thanks for checking it out and sharing your findings.ãã|01<|09co|03d|11e|15Ÿ|11e|03n|09ix|01>|07ãã---ã þ Synchronet þ -=[ conchaos.synchro.net | ConstructiveChaos BBS ]=-ã
  • From Apam@VERT/POSITRON to Codefenix on Wed Jun 22 13:03:00 2022
    Re: Sixel Galleryã By: Codefenix to Apam on Tue Jun 21 2022 09:12 amãã Co> That's interesting, because for me scrolling back in SyncTerm seems toã Co> destroy the sixel image; it just disappears completely. Maybe I'm doingã Co> something wrong?ããOh, sorry. yes scrolling back destroys the image. I just mean they scroll down as they are shown, rather than get cut off at the bottom.ããAndrewãã---ã þ Synchronet þ The Positronic Brain - positronicbrain.net:11892ã
  • From Nelgin@VERT/EOTLBBS to Codefenix on Wed Jun 22 03:10:57 2022
    On Mon, 20 Jun 2022 21:54:15 -0400ã"Codefenix" <codefenix@VERT/CONCHAOS> wrote:ãã> 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. Imagemagick conversion is pretty quick, depending on theã> size and complexity of the image being converted.ããWant!! Got some ideas and could put it to good use! :)ã-- ãEnd Of The Line BBS - Plano, TXãtelnet endofthelinebbs.com 23ã---ã þ Synchronet þ End Of The Line BBS - endofthelinebbs.comã
  • From Codefenix@VERT/CONCHAOS to All on Wed Feb 8 09:13:23 2023
    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.ãã|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:04 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ã >ã > 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ã > Co> image to sixel format, and then displays the resulting sixel to theã > Co> 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.6øF, 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ãã DM> 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ãã Ne> Sounds like something that could or should be added to gitlab so othersã Ne> have it available if they want to use it. Maybe discuss with echickenã Ne> 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ã> ã> Ne> Sounds like something that could or should be added to gitlab soã> Ne> others have it available if they want to use it. Maybe discussã> Ne> 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ã