From Newsgroup: alt.bbs.synchronet
Alright all, here's what I've managed to work out with Xbin images. Easiest way for me to do it, anyways.
Find a nice monochrome (as in black and white, not greyscale) image to start with. You want to make the final image no larger than 640x384 (XBin's go up to 640x400 but the status bar cuts off a row)
Do whatever work you need in an image editor of your choice, then save it is a a JPG. You have two options from here:
linux/os x: install imagemagick, and run:
convert -colors 2 infile.jpg BMP3:outfile.bmp
windows:
I dunno, DM uses MS pain and can save as a monochrome bitmap from there.
put that bmp on your BBS system, and run this on it from /sbbs/exec:
./jsexec xbimage create /path/to/file/outfile.bmp -normal
it'll chug and chug away, and may or may not create several images ranging from outfile.16.xb to outfile.8.xb.
if it errors out and says there's too many glyphs, the picture's too complicated. go back and try to create more areas with blank white and black. 16 pixel fonts tend to work easiest, followed by 14, then by 8.
to display the images, you can either set them up as a gallery in ansiview.js, or use xbimage.js show myawesomeimage.16.xb as a logon event to do a splash screen.
I've not yet: figured out how to determine if a caller can actually view xbins and not show them. put together a "demo" (it's one of the options, I just haven't touched it yet.)
that's my quick writeup.
---
þ Synchronet þ c.o.r.t.e.x 2.0.2.0 |
telnet://deepthaw.net
--- Synchronet 3.18c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113