noopkat / png-to-lcd

convert png image data into an lcd convertible framebuffer
22 stars 9 forks source link

add threshold option #13

Open noopkat opened 6 years ago

noopkat commented 6 years ago

Right now the numeric threshold for what is an 'on' pixel and what is an 'off' pixel is hard coded. An option to use a custom threshold would be really nice.

The suggested approach would be similar to #11 where an options object would be introduced.