png2braille

Version, currently master branch1 version
  • master branchlatestApr 21, 2024

github.com/SleepingInsomniac/png2braille

Convert pngs to text by packing 1bit pixels into braille characters

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  png2braille:
    github: SleepingInsomniac/png2braille
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.12.1
License
MIT
Author
Alex Clink
Target
  • png2braille from src/png2braille.cr

Dependencies

Runtime Dependencies

  • png*github: sleepinginsomniac/png
  • dot_display*github: sleepinginsomniac/dot_display

README

png2braille

Convert images to text by packing 1-bit image data into braile characters with dithering.

⢆⢑⠔⡡⠢⠢⡑⢔⠄⢅⢂⠢⢱⢱⠝⡎⡧⣫⢳⡹⣪⢳⡹⣕⢯⣺⢹⡪⣏⢮⢏⡞⡮⡳⡵⣫⣚⢮⡪⣎⠲⢐⠨⡐⡐⡐⠠⢂⠠⠠⠀⠄⠂⠠⠀⢂⠠⠐⠀⠄⠄⢐⠀⠄⢂⠀⡂⠄⠂⠄⠂⠄⠂⡐⠀
⠌⢔⠡⢂⠣⡁⡪⡢⡫⡢⡂⠢⡱⢱⢱⢱⢹⢜⢎⢮⢳⢣⡫⣎⢮⡪⡺⢸⢸⢵⡹⡪⡯⣺⢝⢼⢜⢮⢺⠢⡑⡡⡨⢂⠢⠨⡊⢔⠡⠊⠌⠄⠅⡂⠡⡀⠄⠨⠐⠐⢈⠠⠐⠈⡀⠄⠠⠐⢈⠀⢂⠈⠄⠐⠈
⡣⠡⡃⢆⢊⠔⢕⠜⡜⡜⡌⢆⠪⡨⡊⢎⠎⡎⡎⡎⡎⡇⡇⡇⡇⡕⢅⠕⢜⢜⢎⢯⡺⣱⠽⣕⢯⡫⡎⠕⢌⠢⡊⢔⠁⢇⠢⠡⡂⢅⠅⠕⡑⠨⢂⢂⠅⢅⢐⢐⠠⠀⠄⢁⠠⠐⠀⠡⠀⠂⡐⠀⠌⢈⠀
⡗⣕⡜⡄⣆⢊⢆⠇⡇⡇⡇⡇⡕⡐⠜⡐⡑⢅⠪⢪⢘⠜⢌⢪⢘⢌⢢⢑⢅⢧⢫⢳⡹⣪⢏⢮⢳⡹⡘⠌⡢⡑⢌⢢⢑⠡⡊⢌⠌⠆⡑⡁⡪⠨⡂⡢⠊⢔⢐⠄⡊⠔⡁⡂⡐⠌⠌⠌⡂⠅⢔⢐⠨⡀⠄
⡯⣺⡪⣏⢮⡲⡕⡱⡘⢜⢜⢜⢔⠱⡐⢐⠈⡂⠅⠕⠠⡑⠡⡊⢔⠕⡢⡑⢌⢎⡎⡧⡫⣪⢝⢮⢳⠕⡅⠣⡂⡊⡢⢂⠆⢕⠨⠢⡑⡑⢌⠢⡊⢌⢂⠪⡘⡐⢅⢂⠪⡐⠔⡐⠌⠌⡜⡕⡜⡜⡰⡐⡡⠨⡂
⣫⢮⡺⡸⡕⡕⡇⡇⢜⠠⢃⢇⢕⢅⠪⡂⠌⢄⠂⡁⡡⠐⠡⡈⡂⠌⠄⡊⡢⡣⡣⡳⡹⡪⣫⡺⡕⡇⡪⠨⠢⢑⠌⡢⢑⠡⡊⢅⢊⢔⠡⡑⢌⠢⠢⡑⢔⠡⡂⢆⢕⠨⡂⠪⡈⡎⡎⣎⢎⢎⢎⢎⢜⢜⠔
⣳⡳⡽⡵⡝⣎⢞⢜⢐⠸⡰⡑⡌⢆⠕⡜⡨⡐⡐⡐⠠⡊⢌⠄⠂⠅⡁⠪⡐⠔⢕⢕⢇⢏⢎⢞⢜⠌⡂⡑⠡⢁⠂⡢⠡⠨⡐⠡⡐⠄⠕⡈⡢⠡⡑⢌⠢⡑⠌⡂⡢⠑⢌⠬⠰⡸⡹⣪⢳⣙⢎⡳⡕⡇⣏
⡎⣞⡺⣪⢳⢕⢝⢆⠥⡑⡅⡕⢜⢔⠅⢗⢼⢕⡕⢌⢊⢲⢰⠘⠌⡂⠂⠅⠂⡈⡐⡐⠅⠕⢑⢑⢑⢁⠢⢈⢐⠀⡂⢂⠨⠐⡀⠅⢐⠨⢈⠐⡠⢁⢂⠢⢂⠢⡑⠌⢔⠡⢑⠌⡪⡪⡝⣜⢇⡗⣝⢞⢮⣳⡱
⡯⣺⡺⣺⢺⢜⡜⡜⡅⡇⠕⡌⡲⢄⢄⠁⠊⡳⡝⡌⡢⡑⢁⢀⠔⡨⠈⠌⠄⠠⠀⡐⠀⠅⠂⠐⢀⠢⢈⢐⢀⢂⠐⠠⢀⠂⠄⠌⢀⠐⢀⠡⠐⢐⠠⠑⡐⡁⡢⢑⢐⠡⡂⠕⡜⣜⢝⡜⡮⡺⡪⡳⢵⡱⡕
⢝⡮⡺⣕⢯⣣⢳⡹⡸⡰⡹⡜⡜⡔⡅⢍⢪⠐⢅⠕⢄⠂⠌⡂⢅⢂⢑⠈⠀⠀⢀⠀⠄⠂⢈⠐⠐⡈⠄⠂⠔⠠⠡⢁⠢⢈⢂⠡⠐⢐⠠⠐⡈⠄⡂⠅⠄⢅⢂⢂⠅⡑⠌⡪⡪⡎⡧⡳⡹⣜⢮⢫⡺⣸⢹
⣵⢽⣹⣪⡳⣱⢵⡹⡸⡸⢌⡢⡳⣱⡺⣝⢮⣹⡢⡃⡕⢨⢢⢊⢢⠡⡂⠄⠂⠈⡀⠄⡐⡈⠄⢌⢐⠐⠨⠨⠨⠨⡐⡐⡈⠄⡐⠠⠑⡐⠨⢐⢐⠐⠄⠅⡑⠱⡰⢡⠲⡨⡢⢑⢙⠸⡱⢫⢳⡱⣣⡳⣹⢜⢎
⡵⣫⢞⢼⡺⡳⡝⡮⡣⡫⣣⣳⢹⢪⢾⢕⢯⢮⢺⠩⡂⡝⢜⢌⢆⢑⠄⠅⠨⢐⠠⡁⡂⡂⠅⡂⡂⡪⠨⠨⠨⡨⢐⠰⢐⠅⡊⢌⠌⠔⡨⢐⢀⢊⠨⠐⠄⠅⠌⠢⡑⢅⠇⡁⠢⡑⠌⠢⡡⢊⠔⠱⡑⢕⠍
⡝⢎⠯⡳⣝⢵⡹⣪⢣⠱⡘⡎⣯⢳⣣⢯⢳⢝⢮⡺⣪⢺⠨⠂⡂⠡⠐⡈⠔⠠⢂⠂⡂⡂⠕⡐⡐⠌⠌⢌⢊⢐⠐⠅⠅⡂⠪⡐⡡⢑⢐⢐⠔⡐⠌⡊⠌⡂⠅⡂⠌⠄⠅⠂⠅⢊⠌⢌⢂⢅⠢⡱⢈⢂⢊
⡨⡊⢌⢊⠢⡑⠕⡱⢑⢕⢔⡸⡸⣳⢳⢽⢝⡽⡱⡱⠑⡐⡨⠨⠠⡁⠅⡂⠌⢌⠐⢌⢐⠄⢕⠰⡨⠪⡘⢔⠰⡐⡱⠡⡃⢌⠪⡐⢄⠅⡂⡂⡊⡐⠅⠢⠡⢂⠅⡂⠅⠌⠔⡈⢈⢐⢈⢂⠅⡢⢑⠌⠢⡑⠌
⡒⡸⠐⡅⡕⡐⡡⠢⣁⢯⡳⡕⣇⢳⡹⣝⢵⢍⠆⢅⠪⡐⠌⢌⢂⠢⡡⢂⠅⠢⠡⡑⡐⡅⢕⢑⢌⢪⠨⡂⠕⢌⡊⡪⠨⡂⡊⢔⠡⠪⡐⢅⢂⢊⠌⠌⢌⠔⢐⢐⠡⠡⡁⡂⠢⠐⡐⢐⢐⢐⠔⡨⠨⢂⢅
⡂⢎⠢⡱⡨⠪⡐⢕⢰⡳⡹⣜⠮⡢⡣⡣⡣⠣⡨⢊⠰⡨⠨⡂⡊⢔⢐⠡⢊⢌⢑⠌⡂⢎⢢⢑⠔⡡⢱⢘⠸⡐⡌⢌⢊⠢⡑⠔⡡⢑⠌⡢⢂⢂⠪⡈⡢⠨⢂⠢⢊⢐⠐⠌⢌⢐⢀⠢⠂⢅⠢⡂⡑⡡⡐
⢌⢢⢡⠱⡘⢌⢊⡂⡧⣳⢝⢜⢎⢎⠜⡜⡨⡱⡘⢌⢊⠔⡑⢌⠢⠡⡂⢅⠅⡂⠢⡑⢌⢢⢑⠢⡃⡪⣂⢪⠸⡨⡊⡆⢕⠡⡊⡪⠨⠢⡑⢔⠡⢂⠕⡐⢄⢑⠄⡑⡐⡐⠡⡑⡐⡐⠄⡂⠡⡁⡂⢅⢊⢂⢊
⠜⢔⢑⠜⡌⡢⡱⢨⡺⣕⣏⢗⢝⡢⡱⡸⡸⡰⡨⢊⠔⢕⠌⢆⠇⠕⢌⠢⡊⠔⡡⢌⢂⠪⡢⡃⡇⢕⢢⠣⡱⡑⡜⢌⢪⠸⡨⡊⡪⡑⡸⠠⡃⢅⠪⢐⠡⡂⡑⡐⠌⢔⠡⢂⢂⢂⠅⡂⠡⢐⠨⡐⠔⡐⡡
⢊⠔⡅⡱⢰⢨⢊⢢⢯⢮⢎⡷⣱⢣⢣⢣⢣⢲⢨⢊⢎⢢⢑⢅⠪⡘⡄⢕⠠⡑⡨⠢⡅⢕⢱⠨⣊⠪⡢⡣⢣⠪⡊⢎⠢⢣⠱⡨⡢⠱⡨⢊⠔⡁⡪⡐⠅⠢⡈⡢⠑⠄⢅⢑⢐⠔⡐⡐⠡⢐⠨⠠⡑⠌⢔
⢆⠣⢂⠣⡃⣊⠪⣸⢵⡫⣳⢝⢎⢧⢳⢱⢱⢱⠱⡐⡅⢕⢁⢃⠇⢕⠌⡂⠅⡢⠪⡑⡜⡄⢇⢇⢪⢪⢂⢇⢕⠕⢅⠇⡍⢆⠣⡑⡌⡪⡐⢅⢊⠌⡂⡪⢘⢌⠢⡢⡑⠅⢅⠢⢑⠌⡢⠡⡑⡀⠌⡢⢊⢌⠢
⢐⠅⠅⠕⢌⠢⡃⣮⡳⣝⡮⢯⡺⡜⣎⢞⢜⡔⣕⢕⢜⠢⡣⢢⢑⠅⠕⡌⡂⡪⡊⡎⡎⡎⡢⡣⢣⢃⢇⠎⡆⡇⡇⡕⡜⡌⡪⠢⡑⠔⢌⠔⡠⡑⢌⢂⠕⡐⡑⠔⢌⢊⠢⢡⢑⠌⡢⡑⡐⢔⠡⡢⡱⣐⢜
⢐⢨⢁⡃⡅⡑⠜⢜⠎⠗⡝⢕⠳⡹⠪⡂⢇⢳⢱⢱⠂⠕⠜⢔⢅⠇⡕⡐⢅⢪⢪⢸⢸⢸⢸⢨⢪⠪⡊⡎⢎⢎⢎⢎⢎⠬⡘⠌⢌⢊⠢⡑⡐⢌⠢⡂⢕⢐⠅⢕⢡⠱⡑⡕⣐⠱⢰⠨⢌⢢⢱⢱⡹⣪⢺
⢼⢸⡱⡱⡣⡇⡇⡢⠡⡃⢊⢌⠢⠨⡂⢅⢊⢘⢜⢔⢅⢇⢅⢂⢢⢑⠔⡑⡑⢌⢢⠣⡪⢪⢪⢪⠪⡣⡣⡣⡓⡕⡕⡇⡣⡱⡘⡨⢂⠢⡡⠢⡑⢅⠕⢅⢣⠱⡡⡃⡪⡘⢌⢪⢰⠩⡢⢣⢑⢅⢇⠧⡯⢎⡯
⣗⢧⣣⡫⣺⢸⢐⠌⡌⡂⢅⠂⠬⡈⡌⠢⢁⠢⢈⠢⡱⡱⡱⡱⡱⡡⡱⡡⠱⡑⢔⢑⢌⢢⠑⢔⠱⢨⠸⡰⡡⢣⠱⡡⡃⡪⠐⢌⠢⡑⡌⡌⡢⡑⡌⡢⢡⢑⢅⢇⠪⡌⡆⡕⢔⢕⠸⡨⡪⢸⢜⢕⢗⣕⢇
⣗⡗⣗⡽⡮⡎⡢⡑⡌⢔⠢⡡⡑⢌⠄⢕⠠⡁⠆⠢⢈⢪⠨⡨⢐⠐⢔⠨⢂⠪⠠⡣⡣⡳⣱⢱⢨⢂⠪⡘⡜⢜⠜⡐⠕⢌⢊⠢⡑⠌⡢⢡⠱⡘⢔⠸⡐⢔⢅⠪⣊⠢⠱⡸⠰⡘⡌⡎⡎⣞⢼⢕⢧⢳⣕
⢮⡫⣳⢝⠮⡣⢣⢊⢎⢢⢑⢌⢢⢣⢑⢱⠰⡐⢅⠅⠅⢕⠡⡢⢅⢣⢱⠨⡢⡙⡌⡎⡮⣪⢣⢏⢎⢆⡑⢅⠣⡃⢇⢪⠨⡂⢆⢑⠌⡪⢐⠅⡎⡌⢆⠕⠌⢆⠪⠨⠢⡑⠕⢌⢎⢪⢪⢮⡺⣪⢳⢝⡭⣳⣪
⠠⡱⢙⢊⢇⠇⡕⡑⠥⡑⡅⢕⢨⠢⡡⠡⡂⠅⢅⢂⢕⠔⡡⠪⡸⢘⠌⢊⠌⡢⡱⡱⡕⡧⡳⢕⠕⠡⢪⠪⡪⢌⢢⢑⠌⢌⢊⠆⡣⢪⢐⢅⢢⢊⢂⠣⢉⠢⡑⡑⡅⠕⢍⢢⢱⢱⣣⡳⣕⢗⠽⡵⡝⡮⣺
⠊⢌⠢⡱⣕⢧⣣⡣⡣⡑⠕⢅⢕⢅⠪⡐⢅⡑⠡⡨⠢⡱⡨⣂⢢⢡⢊⢀⢊⢔⢕⢕⢵⢱⡙⡆⢇⢕⢡⢑⠡⡃⢕⠔⡩⠢⡣⡪⡰⢡⢊⠔⣁⠢⠁⠔⡐⢅⠪⡐⢜⠸⡐⠕⢕⠳⡸⢜⢮⢫⢝⢮⣫⢺⢵
⠨⡂⡪⣜⢜⡕⡮⣪⣛⢮⢧⣣⢆⢕⢡⠑⠕⡨⢂⠎⡌⡆⡕⡜⠜⡌⡆⡃⢢⢱⢑⢕⢕⢕⢑⢅⠕⡜⢌⢎⠪⡨⢢⢣⢪⢪⢰⠨⡨⢂⠢⡑⡂⠡⠡⡑⢌⠢⡣⡊⠢⡡⡨⢊⠢⡑⢌⢌⠢⡑⢍⠕⡪⡪⢳
⡌⢦⡳⣕⣕⢧⢣⠧⢎⣕⢳⢕⢯⢳⡳⣕⢗⢌⢆⢕⢨⠨⡌⡜⢌⢪⢘⠠⡑⠜⢌⢊⠢⢑⢈⠆⡇⢕⢅⠆⢕⠠⢱⢐⢅⠣⡡⢑⠨⡐⡈⠂⠌⢌⢪⠰⡐⡡⡑⠌⡊⠔⡄⠕⡨⡂⠢⠢⡑⢌⠔⠌⢆⢊⢌
⢊⡮⡯⣺⣪⡳⡵⡫⡧⡳⡕⡇⣗⢕⡕⡗⡝⡕⢅⠣⡣⡋⡢⡑⢌⠢⠁⢐⠨⢈⢂⠢⡑⢌⢢⠱⡘⡌⢆⠃⡡⢐⠅⡣⡑⢕⢌⠢⠨⠠⠠⠡⠡⡑⢌⠪⢂⢂⠊⢌⠄⢕⠠⠃⢔⠨⠨⠨⡐⠅⡢⠩⢂⢅⠢
⡱⡝⡮⡳⣕⢯⡫⣗⢽⡪⣗⢽⢜⣕⡳⡱⡱⡑⡅⢇⢕⢜⠔⡈⡐⡐⡠⠠⡂⢕⢐⢱⠨⡊⡢⡑⠌⢌⢐⠌⡂⢅⢊⠔⡘⢔⠡⠊⡌⢜⠨⡨⠂⡐⡁⠊⡐⠠⠑⠠⢁⠂⢅⢑⠐⠡⠡⠑⡨⢐⠨⡈⡂⢂⠑
⡧⣫⢺⡹⡜⡵⣹⢜⣕⠯⣎⢗⢵⢱⢑⢑⠌⢆⢣⢃⢇⠅⡆⢎⢔⢐⠔⡑⠜⢌⠪⠢⡑⠌⡐⠄⡑⠡⡂⡑⠌⠢⡁⢊⢈⢀⢂⠡⡈⡂⠁⠄⠂⠂⡀⠡⠐⠈⡈⠄⠅⠂⢂⠠⢁⠁⡊⠠⠐⠠⠐⠠⠐⠐⡀
⠪⠘⠕⢕⢝⢜⢮⢪⡪⢝⢜⢜⠵⡱⡑⢔⠡⡑⢌⠪⢂⠸⢸⢰⠡⡣⠱⡘⠌⠢⡃⠕⢄⠅⠢⠈⢄⠁⠂⠈⠈⢀⠠⢀⠐⡀⡂⠅⢂⢂⠁⡂⠐⡀⢂⠐⠈⠄⢐⠀⠊⠈⠄⠂⠄⠡⠐⠈⠌⡠⢁⢁⠡⠁⠄
⠅⠡⠑⡐⡈⡊⠪⡪⡪⡱⡱⡑⢕⢹⢸⠸⡸⡨⠪⠨⡐⢨⢀⠂⠅⠁⠁⠀⠀⠄⠂⠁⠂⡁⠅⠡⠐⠀⡀⠡⠈⠄⢐⠀⢂⠠⠠⡈⢆⢂⢊⠄⢅⠢⡐⡨⠠⡁⢂⢁⢁⠡⠈⠄⢌⠠⠡⠨⠐⡀⢂⠂⠔⡁⠅
⢌⢈⠂⡂⠂⢌⢐⠐⢄⢑⠌⠪⠢⡑⢌⠌⡂⡂⠅⡂⠌⠂⠄⠁⠂⢁⠀⡂⠡⢀⠂⡁⢁⢀⠂⢐⠀⡂⠄⡁⢂⠡⠐⡈⠄⠂⢅⠌⡆⡊⣂⠣⠣⠱⡨⡒⡱⡘⡰⡑⠔⢄⠕⢌⠠⠐⠨⠀⠅⡊⠠⠨⠐⠠⢁
⠐⠠⠨⠠⢑⢐⢐⢁⢂⠂⡂⠅⡡⠨⠠⢑⠰⢘⠌⡐⡈⠄⠌⢂⠡⠂⡂⡐⢐⠐⡐⠠⢂⢐⠨⢀⠢⠐⡐⠠⠂⢂⠡⢐⢈⢘⢔⢑⢌⠪⡰⡉⡎⢕⢌⢢⢕⠜⢔⢌⢍⢎⡊⡎⡢⡱⡑⢕⣑⡐⠡⡘⠨⢐⢐
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣠⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠟⠛⠉⠉⠉⠙⢿⣿⣿⣿⣦⡀⠀⠀⠀⠀
⠀⠀⢀⣼⣿⣿⡿⠟⠉⠉⠉⠛⠻⠿⢿⣿⣿⣿⣯⣠⣴⣶⣾⣿⣶⣦⣄⡻⣿⣿⣿⣷⣄⠀⠀⠀
⠀⢀⣾⣿⣿⣿⣷⣶⣾⣿⠷⠶⣤⣤⣤⣿⡿⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣌⢻⣿⣿⣿⣆⠀⠀
⠀⣾⣿⣿⣿⣿⣿⣿⡿⠁⠀⠀⠸⣿⣿⣿⢃⣿⣿⣿⣿⠿⠿⣿⣿⣿⣿⣿⣿⡆⠙⢿⣿⣿⡄⠀
⢰⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⢰⣿⣿⣿⢸⣿⣿⣿⠁⠀⠀⢸⣿⣿⣿⣿⣿⡇⠀⠈⢿⣿⣧⠀
⢸⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⣶⣿⣿⣿⣿⡀⣿⣿⣿⣄⠀⢀⣾⣿⣿⣿⣿⣿⠃⠀⣀⠀⠹⣿⠀
⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡈⠻⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⢠⣾⣿⡆⠀⠙⠀
⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡈⠙⠛⠿⠿⠟⠛⠉⣠⣴⣿⣿⣿⣿⠀⠀⠀
⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀
⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣯⣁⣤⣤⣤⣤⣉⣉⠉⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀
⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀
⠀⠀⠀⠀⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠻⠿⠿⠿⠿⠿⠿⠛⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Installation

  1. Install dependencies: shards install
  2. build the binary: shards build --release

Usage

png2braille <path> <options>

Contributing

  1. Fork it (https://github.com/sleepinginsomniac/png2braille/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors