Overview
Request 1164976 superseded
- Use png for wallpapers for Tumbleweed
* SLES seems to be using png
* Using a compat symlink wallpapers/openSUSEdefault-> wallpapers/SLEdefault
allows running certain apps without rebuild. Such as cockpit.
* Use optipng -o5 to compress files (has to be reflected in spec)
- Created by lkocman
- In state superseded
- 6 package maintainers
- Superseded by 1165556
Request History
lkocman created request
- Use png for wallpapers for Tumbleweed
* SLES seems to be using png
* Using a compat symlink wallpapers/openSUSEdefault-> wallpapers/SLEdefault
allows running certain apps without rebuild. Such as cockpit.
* Use optipng -o5 to compress files (has to be reflected in spec)
- Use png for wallpapers for Tumbleweed provide compat symlink for SLES
* SLES seems to be using png
* Using a compat symlink wallpapers/openSUSEdefault-> wallpapers/SLEdefault
allows running certain apps without rebuild. Such as cockpit.
* Use optipng -o5 to compress files (has to be reflected in spec)
*- Bump date
Not a good reason IMO. What's the size difference?
lkocman@localhost:~/Workspace/opensuse/branding> ls -lah /usr/share/wallpapers/openSUSEdefault/contents/images/*jpg -rw-r--r-- 1 root root 40K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/1280x1024.jpg -rw-r--r-- 1 root root 44K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/1350x1080.jpg -rw-r--r-- 1 root root 46K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/1440x1080.jpg -rw-r--r-- 1 root root 50K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -rw-r--r-- 1 root root 62K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/1920x1080.jpg -rw-r--r-- 1 root root 61K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/1920x1200.jpg -rw-r--r-- 1 root root 145K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/3840x2400.jpg -rw-r--r-- 1 root root 219K Jan 22 15:46 /usr/share/wallpapers/openSUSEdefault/contents/images/5120x3200.jpg
vs
lkocman@tw:~/Workspace/opensuse/branding> ls -lah openSUSE/wallpapers/openSUSEdefault/contents/images/*.png -rw-r--r-- 1 lkocman users 296K Apr 4 16:39 openSUSE/wallpapers/openSUSEdefault/contents/images/1280x1024.png -rw-r--r-- 1 lkocman users 323K Apr 4 16:40 openSUSE/wallpapers/openSUSEdefault/contents/images/1350x1080.png -rw-r--r-- 1 lkocman users 341K Apr 4 16:40 openSUSE/wallpapers/openSUSEdefault/contents/images/1440x1080.png -rw-r--r-- 1 lkocman users 408K Apr 4 16:39 openSUSE/wallpapers/openSUSEdefault/contents/images/1600x1200.png -rw-r--r-- 1 lkocman users 403K Apr 4 16:39 openSUSE/wallpapers/openSUSEdefault/contents/images/1920x1080.png -rw-r--r-- 1 lkocman users 442K Apr 4 16:40 openSUSE/wallpapers/openSUSEdefault/contents/images/1920x1200.png -rw-r--r-- 1 lkocman users 1.5M Apr 4 16:39 openSUSE/wallpapers/openSUSEdefault/contents/images/3840x2400.png -rw-r--r-- 1 lkocman users 2.2M Apr 4 16:39 openSUSE/wallpapers/openSUSEdefault/contents/images/5120x3200.png
That speaks very much for jpg (wasn't png supposed to compress better?)
The benefit of png is that it's lossless, jpg doesn't compress better unless it loses detail
with optipng -o7 (slowest) total 5.8M removes about 100-200K from each file. Adds two-three minutes on build time.
lkocman@localhost:~/Workspace/opensuse/branding> ls -lah openSUSE/wallpapers/openSUSEdefault/contents/images/ total 5.8M drwxr-xr-x 1 lkocman users 208 Apr 4 17:14 . drwxr-xr-x 1 lkocman users 12 Apr 4 17:11 .. -rw-r--r-- 1 lkocman users 296K Apr 4 17:13 1280x1024.png -rw-r--r-- 1 lkocman users 323K Apr 4 17:14 1350x1080.png -rw-r--r-- 1 lkocman users 341K Apr 4 17:14 1440x1080.png -rw-r--r-- 1 lkocman users 408K Apr 4 17:13 1600x1200.png -rw-r--r-- 1 lkocman users 403K Apr 4 17:13 1920x1080.png -rw-r--r-- 1 lkocman users 442K Apr 4 17:13 1920x1200.png -rw-r--r-- 1 lkocman users 1.5M Apr 4 17:13 3840x2400.png -rw-r--r-- 1 lkocman users 2.2M Apr 4 17:12 5120x3200.png
The main benefit is running SLE Micro cockpit on LeapMicro without rebuilding and need for a separate update channel just for cockpit :-)
I don't see the compat symlink creation in the diff. In any case, it seems like the wrong approach to me
Let me fix that. Sorry I originally wanted to test this all out on 16.0 / Micro 6.0 first