Subj : xbin To : echicken From : MRO Date : Tue Mar 08 2022 03:56:40 Re: xbin By: echicken to MRO on Tue Mar 08 2022 05:04 am > Re: xbin > By: MRO to Digital Man on Mon Mar 07 2022 21:28:46 > > MR> okay i used windows paint and saved as monocrome. > > MR> i know years ago deuce was working on displaying image files like > > MR> jpgs > MR> but they were in a separate window. it would be nice if syncterm could > MR> display a png in the client the way it can display these xb files. > > MR> looks like this format requires a lot of image tweaking and has a > > MR> lot > MR> of limitations. that's probably why it wasnt widely used. > > He added support for sixel around the same time. I don't remember the > limitations of the format, but you get colours and decent looking images. > Should be possible to find conversion utilities online. > > I think there's a demo of it on my BBS immediately upon connection if > > you're > using a high enough SyncTERM version. (An image will show up before the > login menu appears.) > > The display function I'm using is like this, where 'fn' is a string, path > > to > a sixel file: > > load('cterm_lib.js'); > > function show_sixel(fn) { > if (console.cterm_version >= 1189) { > var image = new File(fn); > if (image.exists) { > if (image.open("rb", true)) { > var readlen = console.output_buffer_level + console.output_buffer_space; > readlen /= 2; okay, thanks. that makes sense. i'll look for a conversion utility. would be great if we could use .png files in our bbses but it's probably not possible. that's too bad. i liked what i saw on dura-bbs.net but the format seems limited. --- þ Synchronet þ ::: BBSES.info - free BBS services ::: * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .