DEV Community

Cover image for EPDOptimize: Dither Images for E-Paper Displays in JavaScript
jQueryScript
jQueryScript

Posted on

EPDOptimize: Dither Images for E-Paper Displays in JavaScript

EPDOptimize: a JavaScript library that reduces, tone-maps, and dithers images for color e-paper displays.

Key features:

  • Calibrated palette support for Spectra 6, AcEP, and custom displays
  • Nine error diffusion kernels plus ordered and random dithering modes
  • Tone mapping with S-curve, exposure, and saturation controls
  • LAB dynamic range compression for e-paper's limited lightness range
  • Automatic image classification and processing suggestions
  • Browser (Canvas API) and Node.js support

Useful for eInk picture frame projects, hardware image converters, and any tool that needs to render photos on e-paper hardware.

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Top comments (0)