BBS:      TELESC.NET.BR
Assunto:  graphics.js limited to 16-color ANSI
De:       Codefenix
Data:     Mon, 20 Apr 2026 13:48:58 -0400
-----------------------------------------------------------
I wrote a mod a while back named Scroller which displays various text and ANSI files using a scrollable interface. It uses the graphic.js library for processing ANSI files and then returns the results as an array of strings, which it can then scroll through nicely.

There seems to be growing interest recently in 256-color ANSI. I assumed initially that 256-colors should show up fine in my mod, however, when I was given a couple sample 256-color ANSI files to test with, the colors rendered as entirely gray (aka "light white"). It then ocurred to me that graphic.js only seems to support the standard 16 color ANSI sequences.

Are there plans to enhance graphic.js in the future? Any alternatives to graphic.js?

|08
|15 |07  |08  |11codefenix             |08
|15 |07|08  |09ConstructiveChaos BBS |08
|15 |07|08  |01conchaos.synchro.net  |08
|08
|07
---
  Synchronet  -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-

-----------------------------------------------------------
[Voltar]