Xteink-X4-crosspoint-reader/lib/GfxRenderer
Jonas Diemer fc354bb2ea Fix BMP rendering gamma/brightness (#302)
1. Refactor Bitmap.cpp/h to expose the options for FloydSteinberg and
brightness/gamma correction at runtime
2. Fine-tune the thresholds for Floyd Steiberg and simple quantization
to better match the display's colors

Turns out that 2 is enough to make the images render properly, so the
brightness boost and gamma adjustment doesn't seem necessary currently
(at least for my test image).
2026-01-15 17:41:56 -08:00
..
Bitmap.cpp Fix BMP rendering gamma/brightness (#302) 2026-01-15 17:41:56 -08:00
Bitmap.h Fix BMP rendering gamma/brightness (#302) 2026-01-15 17:41:56 -08:00
BitmapHelpers.cpp Fix BMP rendering gamma/brightness (#302) 2026-01-15 17:41:56 -08:00
BitmapHelpers.h Fix BMP rendering gamma/brightness (#302) 2026-01-15 17:41:56 -08:00
GfxRenderer.cpp Feature/cover crop mode (#225) 2026-01-15 17:40:33 -08:00
GfxRenderer.h Feature/cover crop mode (#225) 2026-01-15 17:40:33 -08:00