fenwick67 / term-px

Write pixels to the terminal in vertical pairs
http://fenwick67.github.io/term-px
23 stars 0 forks source link

make transparency work #2

Open fenwick67 opened 6 years ago

fenwick67 commented 6 years ago

if the image has a transparent pixel, handle it with a or or with no background.

alpha < 127 => transparent. Make this level configurable.

fenwick67 commented 5 years ago

Would go here: https://github.com/fenwick67/term-px/blob/9d09418b1ece5cce600a916f5f64879c72f0953a/index.js#L38