- Location gets its own badge in the lower-left corner (separate from
the main date/time/people/camera badge at the configured position)
- All overlay badges now use rounded corners (radius 4px) via
fillRoundRect instead of fillRect
- New setting: 'Translucent background?' checkbox in web UI
When enabled, badge backgrounds use a checkerboard pattern (every
other pixel black) instead of solid black, creating a 50% opacity
effect that lets the underlying image show through
- Refactored all badge drawing through a single drawOverlayBadge()
helper (metadata, sleep indicator, battery indicator)
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the PALETTE_565 + writePixel loop with a bgr888_t palette whose
values exactly match Panel_ED2208's internal epd_palette, pushed via a
single pushImage() call.
Benefits:
- Eliminates ~240K individual writePixel calls per frame
- Zero-distance palette values guarantee correct color mapping
- Removes lossy RGB565 intermediate encoding
- Remove unused paletteToColor565() helper
Also adds informational comment to triggerRefresh() noting that
Panel_ED2208::_exec_transfer always sends the full 400x600 frame.
Co-authored-by: Cursor <cursoragent@cursor.com>
Root cause: Panel_ED2208's epd_quality mode applies _dither_row_rgb_pair
(diagonal bias pattern with dither=140) during _exec_transfer(). Since our
ImagePipeline already does proper Floyd-Steinberg dithering, the driver's
additional dithering was creating visible diagonal artifacts.
Fix: setEpdMode(epd_fastest) selects _dither_row_none (clean nearest-color
lookup, no spatial bias). On Panel_ED2208 this only affects the dither
function — NOT refresh quality or waveform.
Also: default dither_noise setting to OFF since error scatter was targeting
the wrong layer (it made gradient areas fuzzier without fixing the real
problem in the display driver).
Co-authored-by: Cursor <cursoragent@cursor.com>
- Letterbox: extend edge pixels outward with blur + fade to solid color
- Portrait: detect and pair portraits side-by-side, fallback to solo
- Metadata: add overlay mode (corner badge), time field, custom date/time
format strings (strftime), font size 1.5x, region-aware for pairs
- Buttons: swap G9/G10 to match physical layout, double-press random
button for deep sleep, SLP indicator drawn before sleep
- Boot: remove redundant 'Loading photos' screen (saves 17s refresh)
Co-authored-by: Cursor <cursoragent@cursor.com>