mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
[Themes] Encode home backgrounds as JPEG to slim the repo (#7346)
The home background PNGs shipped since #7280 total ~67 MB and bloat every clone and pull for other devs. Encode them as JPEG at quality 95 (matching resolution, visually lossless at 40-48 dB PSNR since the art is noise-heavy renders PNG cannot compress) for ~79% size reduction. The scheme-variant and theme asset resolution already probe .jpg, so only the qrc entries needed updating. Refs #7327 Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
eae9591a17
commit
712ca61a9e
23 changed files with 3 additions and 3 deletions
BIN
cockatrice/resources/backgrounds/home-dark.jpg
Normal file
BIN
cockatrice/resources/backgrounds/home-dark.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 MiB |
BIN
cockatrice/resources/backgrounds/home-light.jpg
Normal file
BIN
cockatrice/resources/backgrounds/home-light.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 MiB |
BIN
cockatrice/resources/backgrounds/home.jpg
Normal file
BIN
cockatrice/resources/backgrounds/home.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 MiB |
Loading…
Add table
Add a link
Reference in a new issue