Hacker News new | past | comments | ask | show | jobs | submit login

This is the same e-ink device I believe that's in the Pimoroni Inky Impression.

I've written a Python program that anecdotally fixes the bias caused by the display for blues and greens, and dithers using an Atkinson dither. The code is based on some older Java implementation I wrote, but if you are considering a port to C this is more succinct (entry point diffuse_image()):

https://github.com/KodeMunkie/inky-impression-slideshow/blob...

The fix is to define the ink's blue as a slightly different hue than the device specifications, which tends to over emphasise it - improving it - when it comes to shades like sky blue (which the display can't achieve). So instead of (perhaps) being quantised to green, which is closer colour match for the actual real hue, more blue is shown instead. Whilst this is incorrect for photographic colour accuracy, if you don't know what the original photo looks like it appears to be correct and better than the colour that is typically chosen (green).




Thanks for sharing! Atkinson dithering is a great choice for these panels. What the result lacks in detail it gains in contrast, and since e-ink panels don't have the greatest contrast ratios it's a good match.

Sierra dithering is a nice compromise between Atkinson and basic Floyd-Steinberg.


I've not run the code in a while but you can find a screenshot here: https://user-images.githubusercontent.com/13253888/166610362... (nb. isn't of actual display, but gives you an idea of quality)

and a bit of discussion early on about the colour issues: https://github.com/pimoroni/inky/issues/115




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: