Files
JC3636W518EN/10-GIF-Tests
mangavalkandClaude Opus 5.5 b2f6a52902 gif_to_360: retry with sharp scaling when too large; add new GIF
Smooth upscaling blends pixels and dithers per-frame palettes, which
breaks GIF delta compression (7.2 MB source -> 24.9 MB). Nearest-
neighbour scaling keeps it at 7.2 MB, under the 11.5 MB flash limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 17:29:18 +02:00
..

GIF tests

GIF playback experiments on the JC3636W518 (originally part of the 2024 OBD display attempt; renamed 2026-10-23). Used to find the fastest GIF setup — results are in ../shared/README.md and ../CLAUDE.md.

Projects (PlatformIO, LVGL 9.6.0, shared library in ../shared)

Folder What it does
display_gif_embedded/ loligod.gif compiled into firmware (src/loligod.c, 2.2 MB GIF → 3.5 MB firmware, default_16MB.csv). Plays at full GIF speed (~23.8 fps, 53 % CPU). Starts without SD card.
display_gif_sd/ wallpaper.gif from the SD card, loaded into PSRAM once and played from memory (~15 fps for the current file).
assets/gifs/ GIF files (dump/ = unused collection)

Build / upload

pio run -d display_gif_embedded -t upload       # flash (COM21)
pio device monitor -d display_gif_embedded      # serial: FPS / refresh / other / CPU once per second

(pio = %USERPROFILE%\.platformio\penv\Scripts\pio.exe if not on PATH.)

Notes

  • display_gif_embedded/src/montserrat_100.c (100 px digits font, 1 bpp) is present but not used.
  • display_gif_sd returns early in setup() if the SD card fails to mount (black screen).