tenox7 / wrp

Web Rendering Proxy: Use vintage, historical, legacy browsers on modern web
Apache License 2.0
1.07k stars 52 forks source link

add support for monochrome 2 colors #73

Closed debounce2 closed 4 years ago

debounce2 commented 4 years ago

Add monochrome dithering when using 2 colors for better support on monochrome monitors

hn-mono

tenox7 commented 4 years ago

Wow thank you! BTW doesn't this needs update to go.mod as well?

tenox7 commented 4 years ago

Also have you tested use of halfgone with (or rather without) quantizer (github.com/ericpauley/go-quantize/quantize)? I'm thinking perhaps if halfgone is used then quantize doesn't have to be.

debounce2 commented 4 years ago

I was using an old version of Go without modules. I added a commit to update the modules.

Without the quantizer, the image is a solid color.

tenox7 commented 4 years ago

thank you!