diff --git a/server/app/image_pipeline.py b/server/app/image_pipeline.py index 8a80716..37a09af 100644 --- a/server/app/image_pipeline.py +++ b/server/app/image_pipeline.py @@ -50,12 +50,18 @@ def logical_to_native(x: float, y: float, orientation: str) -> tuple[int, int]: # exact color primaries for this panel. Tune them once you can compare a # rendered test image against the real panel. PALETTE_RGB = [ - (0, 0, 0), # BLACK - (255, 255, 255), # WHITE - (255, 219, 0), # YELLOW - (207, 0, 15), # RED - (0, 39, 133), # BLUE - (0, 133, 55), # GREEN + # (0, 0, 0), # BLACK + # (255, 255, 255), # WHITE + # (255, 219, 0), # YELLOW + # (207, 0, 15), # RED + # (0, 39, 133), # BLUE + # (0, 133, 55), # GREEN + (0, 0, 0), + (255, 255, 255), + (255, 243, 56), + (191, 0, 0), + (100, 64, 255), + (67, 138, 28) ] # The panel's actual 4-bit color codes (see firmware/components/epd7in3e),