Xteink-X4-crosspoint-reader/lib/GfxRenderer
Jonas Diemer 0165fab581
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-12 22:36:19 +11:00
..
Bitmap.cpp Fix BMP rendering gamma/brightness (#302) 2026-01-12 22:36:19 +11:00
Bitmap.h Fix BMP rendering gamma/brightness (#302) 2026-01-12 22:36:19 +11:00
BitmapHelpers.cpp Fix BMP rendering gamma/brightness (#302) 2026-01-12 22:36:19 +11:00
BitmapHelpers.h Fix BMP rendering gamma/brightness (#302) 2026-01-12 22:36:19 +11:00
GfxRenderer.cpp Feature/cover crop mode (#225) 2026-01-05 21:07:27 +11:00
GfxRenderer.h Feature/cover crop mode (#225) 2026-01-05 21:07:27 +11:00