Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2tant

Renders images into a set of UTF-8 sextant or octant blocks (black and white only).

Usage

Usage: img2tant [-hiv] [-o FILE] IMAGEFILE

  -6    force the use of sextant blocks
  -8    force the use of octant blocks
  -i    treat white pixels as black and black pixels as white
  -o    send output to file instead of stdout
  -h    print help and exit
  -v    print version and exit

Example

xkcd 3041 as UTF-8 (requires a good monospace font)

███▛𜶺𜶺𜷝𜷝𜷝𜷛▆𜵉███████████████████████████████████████████𜵰𜶏𜶺𜵠🮅████████████████████
██𜵰𜴬𜵻𜶺𜶺𜶺𜷝𜷝𜷝𜷛𜶙𜷥█𜵰🮅🮅𜴗𜷌▆▆▆𜷟𜷆𜶫███████████████████████████𜶏𜷛𜷥███𜷤𜶽𜶫█████𜴗𜵷𜴶𜴆𜵲🮂𜴦██████
███▌𜷥███████▐█▛𜷡█▌▟🮅█████𜴍▜█████████████████████████▛▟███████𜵆████▚𜺣𜴧𜴉𜴆   𜶘█████
████𜴿██████▛𜷕█𜷤𜵜█▌𜴍▆▆𜷜𜷝𜷝▆𜵰𜷕█████████████████████████𜷀▜███████𜶗████▐█▆▄𜷡▆▆ 𜷕█████
█████𜷟𜶺🮅🮅🮅𜵿𜷡███𜷤𜶘𜶖𜶻𜶫████𜴗𜷌█████𜵰𜵷𜷢▆▆▆𜷝𜵠███𜵊𜴯𜶒𜶋𜵄🮅█████𜷁𜶫████𜵰𜷐𜷥█𜵰𜶏▜𜶿▜████𜴗 ▐█████
██████𜵊 ████████𜵲𜷥█𜵮𜺫𜶟𜶟𜷛𜶎𜴸𜷚████𜶐𜵰𜶏𜴦🮅𜶫🮅𜵿▝██𜶗𜵰𜷓𜷟𜷄𜵘𜴔𜵤𜶶𜵠𜶫█𜷤𜷟𜵤𜶃▖𜷅𜵠𜶫█𜷈▝𜷋𜵠𜷤𜷟𜵇𜺨 𜺠𜺣𜷜█████
█████▛𜷕▐𜴡█████████▛𜷓𜴍𜴷𜴨𜷋𜶆𜷕████𜵊𜷥𜶖███𜷤█𜵰𜷕██𜴡𜷔████𜷤▄𜷝𜶹𜴠𜶓𜵤𜶴𜴵█▌██▆𜵇██𜷞𜵚𜶽𜴗𜵱𜷥▌𜶫███████
█████▚█▐▙▜████████𜷋𜷡𜵈𜷊𜶳𜷔█████▛𜷓▌𜴅𜶫██𜵰𜵿𜷡███▆█𜵰🮅𜶫██████𜷤𜷞𜶐𜶹𜴯𜶓𜵇𜶺🮅𜴍████▆▆██𜷤▐███████
████𜵊𜷥█▐█𜵉𜶫█████████𜵵▜███████▆𜵈𜷋𜷌𜵙𜴉 𜴳████𜶏𜷝▆𜷥█𜷤▆𜷆𜴦████▚𜶏𜷒𜷥𜴀𜷜𜶴𜵘𜶀𜵤𜶘██████▌▐███████
████▆█▛𜶻𜶫█𜷥████████𜵊▟𜵉████████𜶗██𜴴▝𜴈𜷤▆▆𜵧𜷋█𜷣██████𜷤𜴒██▙𜷠𜷥█▛𜷡▐██𜷤▆███████𜵵𜴡███████
██████𜶅█▞█████████𜵰𜶖█𜷤𜶘██████𜷀𜶕𜷝▆𜷥𜵰𜶖▆𜷞𜷝𜺨████𜵰🮅𜶺𜷠𜷢𜷥𜷤▐█████𜶐█𜷀▜█████████▛▟▌𜶫██████
█████𜵰▐█𜷤𜴢████████𜴍███𜵈███████𜷤𜷜𜶺🮅▌████𜵈█████𜷥████𜴏𜷕████𜵊▟██𜵆█████████𜶗██𜴿██████
█████▌███▙▜██████▛𜷕███𜷤▐█𜴦𜶫██🮅🮅🮅🮅𜴴𜺠𜶶█𜵰██𜷅𜶟🮅██𜷊██𜷤▀𜵚𜵰𜶫███𜶐███𜷤𜴡█𜵰𜵵████▌𜷥██▙𜶘█████
𜴦████𜷕████𜵈█𜷊𜶲𜶽𜷚█𜷌██𜶮𜷖█𜶿𜷠𜷛𜷜███████▟𜷠█▄𜷜𜷊𜶾▄▄𜷝𜷝𜷝𜶺𜷝𜷛▄𜷝▄▆██𜷂𜷥𜷠𜷣██𜷀█▙𜷋▟█𜷝█▟██𜷚█𜶿█𜷂𜶵𜷣█
MATH BREAKTHROUGH: DIMENSIONAL ANALYSTS HAVE DISCOVERED A REAL UNIT CIRCLE. ONCE
THEY MEASURE IT, UNITS CAN FINALLY BE ADDED TO ALL OUR GEOMETRY TEXTBOOKS.

Dependencies

  • imlib2

About

Render images as sets of UTF-8 sextant blocks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages