Uses some code from my image generator.
Takes input on stdin as ppm, outputs to stdout as text.
Usage:
brailleart
: No arguments: default, black background, white foreground, 0.5 thresholdbrailleart invert
: Singleinvert
argument: white background, black foreground, 0.5 thresholdbrailleart 0.3
: Single double argument: black background, white foreground, given thresholdbrailleart invert 0.3
: Two arguments (firstinvert
, second double): white background, black foreground, given threshold- No other argument formats are supported at this time.