Just removing transparency from all images on the top bar and side bar causes other issues, particularly with the unit sprite and the clock icon alignment.
Fixes#8335
This reverts commit 5d36e382c7.
It's been found to cause all kinds of terrain glitches on Windows and
Linux. Please do not try experimental image compression alternatives
without discussing and reviewing first.
Overall statistics (only for files with a smaller recompressed size):
Original size: 14370 KiB on 172 files
Optimized size: 12855 KiB
Total saving: 1514 KiB = 10% decrease
This moves the after the fall schedule into core to grant that the
debian package wesnoth-editor does not depend on wesnoth-utbs.
Also, the images now life in their own subdirectories.
Wmllint has been updated to take care about the changed paths.
Overall statistics (only for files with a smaller recompressed size):
Original size: 8179 KiB on 29 files
Optimized size: 7013 KiB
Total saving: 1165 KiB = 14% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 16720 KiB on 404 files
Optimized size: 15237 KiB
Total saving: 1482 KiB = 8% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 276 KiB on 14 files
Optimized size: 226 KiB
Total saving: 50 KiB = 18% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 15583 KiB on 283 files
Optimized size: 11794 KiB
Total saving: 3788 KiB = 24% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 65 KiB on 1 files
Optimized size: 63 KiB
Total saving: 2 KiB = 4% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 4442 KiB on 35 files
Optimized size: 4211 KiB
Total saving: 230 KiB = 5% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 9070 KiB on 449 files
Optimized size: 8184 KiB
Total saving: 885 KiB = 9% decrease
...with an upscaled version of the correct size (125x39), provided in
bug #19415
This solution seems sensible for reasons stated in the bug report. I
normally dislike upscaling graphics, but in this case the original is
crappy enough (it even appears to have JPEG artifacts?) and the
difference barely noticeable to the human eye.
Since this kind of changes can apparently break add-ons nowadays, this
probably should _not_ be backported to 1.10.
Overall statistics (only for files with a smaller recompressed size):
Original size: 2643 KiB on 14 files
Optimized size: 2520 KiB
Total saving: 122 KiB = 4% decrease