[presto] Update tests/references to medium cover size
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ _These rules apply to any scrollable view (day list, detail page, or future addi
|
||||
## Image Handling
|
||||
|
||||
- Row thumbnails use `covers.small` from the API. Detail covers use `covers.medium`.
|
||||
- The API provides display-ready JPEG sizes: `covers.small` is 80px and `covers.medium` is 460px. Do not resize covers on the device.
|
||||
- The API provides the row thumbnail size directly: `covers.small` is 80px. Detail covers use `covers.medium` in a `DETAIL_COVER_SIZE = px(200)` 400px layout area; do not expand it to fill the 480px display unless explicitly requested.
|
||||
- Cache downloaded image bytes on the record dict. Use separate cache keys for different sizes (e.g., `_thumb_data` for rows, `_detail_thumb_data` for detail view). Never fetch images during drag — show placeholders instead and repaint real covers on release.
|
||||
- JPEG is the practical default. PNG has worse memory characteristics; raw/RGB565 needs a confirmed stable blit API on the target firmware.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user