Fix photo stripes and keep GIF playback off the UI thread.
Use cover/stretch display, solid sample assets, core0 GIF decode without blocking touch, and always-commit project rule. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,8 +7,8 @@ ESP32-2432S028R 电子相册:从 TF 卡读取 **JPG / PNG / GIF**,触控切
|
||||
## 功能
|
||||
|
||||
- 扫描 TF 卡 `/photos` 与根目录的 `.jpg` / `.jpeg` / `.png` / `.gif`
|
||||
- 半分辨率画布 160×120,界面 2× 放大到 320×240(适配无 PSRAM 的 DRAM)
|
||||
- JPG 过大自动 1/2、1/4、1/8 缩放;PNG / GIF 等比缩入画布
|
||||
- 半分辨率画布 160×120,全屏拉伸到 320×240(适配无 PSRAM 的 DRAM)
|
||||
- JPG / PNG / GIF 按 cover 铺满画布(可裁边)
|
||||
- **点左半屏 = 上一张,点右半屏 = 下一张**;底栏 `<` / `>` 同样切换
|
||||
- GIF 自动播帧;右上角显示 TF 状态
|
||||
- 串口 `#PUT` 传文件到卡(`tools/sd_put.py`)
|
||||
|
||||
Reference in New Issue
Block a user