A serverless function hosted on Cloudflare workers to create images that are compatible with eInk displays as such as supported by https://github.com/atc1441/E-Paper_Pricetags/tree/main/Custom_PriceTag_AccesPoint or my simplified fork https://github.com/Hades32/web-tags .
Hosted at https://eink-bmp-converter.h32.workers.dev
- origin: the source URL to pull a PNG from
- color: 0(default): only pixels with a intensity <25% become black. 1: only colorful pixels (saturation >75%) become black
- inv: 0/1 inverts the resulting image
- rotate: rotes the image by 90/180/270 degrees
input | extract black, rotate | + invert | extract color, rotate | + invert |
---|---|---|---|---|
from https://github.com/Hades32/info-pic-worker |