Skip to content

Commit

Permalink
ImageTools: increase preview resolution of episode image
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Nov 16, 2024
1 parent f6b5548 commit c1e330e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Releases marked with 🧪 (or previously with the "beta" suffix) were released o

## Version 2024.5

### Unreleased

* 🔧 Shows: increase preview resolution of episode image.

### 2024.5.0 - 2024-11-06 🧪

* 🌟 Movies: add link to all release dates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,21 @@ object TmdbSettings {
private const val KEY_TMDB_BASE_URL = "com.battlelancer.seriesguide.tmdb.baseurl"
const val POSTER_SIZE_SPEC_W154 = "w154"
const val POSTER_SIZE_SPEC_W342 = "w342"
const val BACKDROP_SMALL_SIZE_SPEC = "w300"

/**
* As of 2024-11:
*
* - w300 (300 × 169 px) JPEG is around 9-16 kB
* - w780 (780 × 439 px) JPEG is around 30-70 kB
* - w1280 (1280 × 720 px) JPEG is around 60-140 KB
*
* Samples:
*
* - https://image.tmdb.org/t/p/original/8Tvnx22rzhwArofFPhmcfaBvgjN.jpg (smallest)
* - https://image.tmdb.org/t/p/original/j4WEC9Jh4AyXF8ynpX3pz633tse.jpg
* - https://image.tmdb.org/t/p/original/5Bh7EE3p6OOS0NzH22AE0N7DYO8.jpg (largest)
*/
const val BACKDROP_SMALL_SIZE_SPEC = "w780"
private const val IMAGE_SIZE_SPEC_ORIGINAL = "original"
const val DEFAULT_BASE_URL = "https://image.tmdb.org/t/p/"

Expand Down

0 comments on commit c1e330e

Please sign in to comment.