Real-image posters: scale to the box's pixel size

Ghostty shows an image smaller than its placement at its own size, so
library posters (Radarr's poster-500 is 333x500, not 500x750) came out
smaller than the 426x640 remote ones. Images are now scaled (bilinear)
to exactly cols*cellWidth x rows*cellHeight pixels before upload, and
library titles use the original poster for real images. The disk cache
stores posters as decoded (JPEG) instead of the possibly large originals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 11:25:45 +02:00
co-authored by Claude Opus 5.5
parent 786e783951
commit 15e97f4582
8 changed files with 100 additions and 25 deletions
+5
View File
@@ -2,6 +2,11 @@
## Unreleased
- **Real-image posters fill their box in every terminal:** they are scaled to the exact pixel size
of their cells before they are sent. Ghostty shows an image that is smaller than its place at its
own size, so library posters (Radarr's copy is only 333×500, not 500×750 as assumed in 0.4.0)
came out smaller than the others. Library titles now also use the original poster for real
images. The disk cache keeps posters at the size shown, not as downloaded.
- **Posters all the same size:** the details pane always shows a poster in a 2:3 box. Images
slightly off that shape (some Radarr/Sonarr hand out) fill it, trimmed at the long sides; images
far from it (square, landscape) are shown whole and centred. Before, such posters came out