• Re: pbm2braille (was: Are We Sixel Yet?)

    From Eli the Bearded@3:633/10 to yeti@tilde.institute on Friday, September 19, 2025 04:26:32
    From: *@eli.users.panix.com

    In comp.misc, yeti <yeti@tilde.institute> wrote:
    Eli the Bearded <*@eli.users.panix.com> wrote:
    I've seen the Unicode Braille codepoints used, too. Those support 2
    dot wide and 8 dot Braille symbols, which render with white space surrounding.
    Nice to have: <https://codeberg.org/grunfink/pbm2braille>

    https://github.com/Eli-the-Bearded/DotDotDot/tree/pbmtodots/pbmtodots

    (I just forked someone else's work and added the pbm tool to it.)

    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⣤⣶⣶⣶⢔⣠⣤⣤⣶⣶⣾⣿⣶⣆⡤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠀⢀⠀⠀⠀⠀⠀⠀⢀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠀⢆⠀⣂⠂⡛⠾⠿⠋⠑⣺⢿⣿⣿⣿⣿⣿⣿⣿⡯⠀⠀⠀⠀⠀⠀⠩⠏⠉⠀⠀⠀⠀⠀⠀⠀⣀⡀⠀⠀⠀⠀⢈⢉⣲⣀⡀⠀⠀⠀⠀⢀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠰⠖⣧⣭⡍⠬⢸⠫⣭⣅⣄⡀⠀⠀⠙⢿⣿⣿⣿⣿⡿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠉⠀⣠⢤⣀⣶⣾⣿⣿⣿⣯⣧⣤⣴⣆⣀⣀⣦⣬⣀⡀⠀⠀⠀⢀⠀⠀
    ⣐⣾⣿⣿⣶⣶⣶⣶⣶⣶⣯⣭⣯⣥⣬⡶⡴⠎⠉⣿⢧⠀⠀⣾⣿⣿⠿⠛⠉⢀⣀⠀⠀⠀⠀⠀⣠⣶⠿⣷⡶⠦⣰⣤⣶⣾⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣿⣷⠦⡄
    ⠰⢾⣿⡿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠉⠈⠁⣦⣍⢃⠀⠀⠈⠻⠃⠀⠀⠀⠈⠁⠀⠀⠀⠀⡾⣿⡉⢾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠿⠛⡫⠿⠟⠁⠀⠀
    ⠀⠐⠁⠀⠀⠀⠈⡻⣿⣿⣿⣿⣿⣿⣿⣶⣦⡀⣽⣿⣿⣧⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡌⣣⢀⣨⣯⣤⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣥⠀⠀⠀⠾⠁⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⢛⢿⣿⣟⣷⠉⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢲⣿⣿⠿⣿⣿⡿⠿⢻⣿⠟⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⣿⣿⣾⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠿⠟⣁⣀⠁⠘⠏⠵⠶⣶⣿⣇⣸⣿⣿⣿⣯⡿⣿⣿⣿⣿⣿⣿⣿⣟⠙⣏⠀⣀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠹⢿⣟⣿⠿⠿⠛⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣾⣿⣿⣿⣶⣤⣦⣤⡰⣿⣿⡟⢿⣿⣿⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⣿⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⡀⣠⠄⠂⡄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡹⣿⣿⣶⠆⠀⠉⢻⣿⡿⠛⢻⣟⣿⠙⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠉⠲⣀⢀⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣜⣭⠀⠀⠀⠀⠈⠿⠀⠀⠀⢘⠻⠇⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣽⣿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠈⢹⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣇⠠⣴⠇⡤⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⡶⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠂⠀⠀⠁⠀⠐⠙⠟⠂⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢾⣿⣿⣿⡿⠛⢠⡎⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣶⣿⣦⣴⡀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⠏⠀⠘⠁⠀⠀⠀⠀Perth⣀⣀⣄⠸⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠋⠉⠁⠈⠙⠿⠿⠁⠀⠀⠀⠀⡀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣽⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠠⠂⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

    Nice, but it was missing something.

    But Braille chars and their char and line spacing may look very
    different depending on the font you use. In my XTerms they are as wide
    as other chars, in my GUI-Emacs they are narrower and in my main browser
    they are wider than the monospace font's spacing. For its original use
    case that won't hurt, but as pseudographicks that may be painful. Maybe instead of adding every shit and their pets to Unicode ™someone™ should solve that problem.

    The Legacy Computing block art looks promising:

    https://en.wikipedia.org/wiki/Symbols_for_Legacy_Computing

    Elijah
    ------
    was not going to link to his program but the idea was so similar

    --- SoupGate-Linux v1.05
    * Origin: Dragon's Lair ---:- FidoNet<>Usenet Gateway -:--- (3:633/10)