ascii-photobooth/ascii.conf

33 lines
1.1 KiB
Plaintext

# ASCII Photobooth ascii-image-converter configuration
# Sourced by webcam2ascii.sh. All values are optional - blank/false means
# "use the converter's default".
# Output size in characters (leave both blank to size to the terminal)
WIDTH=
HEIGHT=
# Use a larger character gradient for smoother shading (true/false)
COMPLEX=false
# Custom character map, darkest to lightest, e.g. " .:-=+*#%@"
# Overrides COMPLEX if set
CHAR_MAP=
GRAYSCALE=false
NEGATIVE=false
FLIP_X=false
FLIP_Y=false
# Size the live-preview viewfinder box to the same character grid as the
# final print output (see PRINTER_A4/PRINTER_MAX_LINES/PRINTER_MAX_COLS in
# printer.conf) instead of just filling the terminal. The preview frame is
# still cropped/converted on its own, upright, before any print-time
# rotation - only the box's cols/rows match the output. The viewfinder is
# always centered in the terminal either way. (true/false)
REAL_VIEWFINDER=true
# Color and braille output are intentionally not exposed here: both rely on
# ANSI/multi-byte Unicode that a parallel-port needle printer can't render.
# Only add --color/--braille yourself if you don't plan to print via
# txt2printr.sh.