Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glyphify

images to html

braille
⠃⠗⠁⠊⠇⠇⠑

glyph
✦

two modes:

  • braille: 2x4 subpixel dots, fast, classic
  • glyph: font aware matching. Matches tone, edge magnitude, and edge direction. Uses bundled jetbrains mono by default

usage

braille

cargo run -- example.jpg -o out.html --mode braille --width 180 --zoom 1.5

glyph

cargo run -- example.jpg -o glyph.html --mode glyph --width 140 --edge 0.55 --dir 0.35

flags

  • --mode: braille or glyph
  • --width: output columns
  • --zoom: html scale factor
  • --edge: edge strength weight (glyph mode)
  • --dir: edge direction weight (glyph mode)

MIT

Releases

Packages

Contributors

Languages