[wallpapers] Use more high-quality JPEGs for Next
ClosedPublic

Authored by filipf on Jan 30 2020, 6:46 PM.

Details

Summary

Due to filesize concerns, we optimized the Volna wallpaper to be JPEGs compressed at 90% quality.

JPEGs seems like the right way to go, but at 90% JPEG artifacts appear, as well as a noticeable loss of sharpness. Both are more prominent the smaller the resolution.

I used the same tool (squoosh) to generate more high quality JPEGs, paying attention to how each resolution responded to a certain quality setting.

In the end I had to use values between 94 and 98 in order to ensure there is no noticeable difference with the original PNGs.

This brings up the total file size to 17.4 MiB, which I think is still fine, especially given that this is our default wallpaper for an LTS release.

Test Plan

The diff previews below demonstrate the difference, but here is an example (1280x1024):

Left is before, right is after.

Diff Detail

Repository
R31 Breeze
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
filipf created this revision.Jan 30 2020, 6:46 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 30 2020, 6:46 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
filipf requested review of this revision.Jan 30 2020, 6:46 PM
filipf edited the test plan for this revision. (Show Details)Jan 30 2020, 6:47 PM
filipf added reviewers: Plasma, VDG, ngraham.
filipf edited the summary of this revision. (Show Details)Jan 30 2020, 6:51 PM
filipf edited the summary of this revision. (Show Details)
ngraham accepted this revision.Jan 30 2020, 8:17 PM

Noticeably less JPEG-compression-artifacty.

If this lands, make sure it's on the Plasma/5.18 branch.

This revision is now accepted and ready to land.Jan 30 2020, 8:17 PM
filipf added a subscriber: rikmills.EditedJan 30 2020, 8:41 PM

Noticeably less JPEG-compression-artifacty.

If this lands, make sure it's on the Plasma/5.18 branch.

Will do! Any objections from Plasma or distro folks (@rikmills @The-Feren-OS-Dev )?

Some more numbers: the size of the wallpaper pack is increased from 8.1 MiB to 17.4 MiB. Original Volna PNGs are 45. Ice Cold totaled at about 13.

And @raveomelette does this look good to you?

Yup, definitely looks nicer!

I don't object to bumping the size for this release.

However, I do wonder if it might be worth thinking about future guidelines/rules regarding wallpaper maximum sizes after optimisation.

Agreed. Perhaps for the next contest, we should explicitly require that the 5K version be under 6 MB, and provide a few recommendations for how to achieve this.

This revision was automatically updated to reflect the committed changes.