Convert pedal and pedalboard images from .png to .webp to use less storage #2174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After noticing Issue #1856, I tried converting the pedal images to webp to reduce their size. I recently did a similar conversion from jpeg to webp for my own website and saved quite a bit of space.
As shown in the screenshots of my reply to that issue, using webp images instead of png reduced the size of the app/images/pedals directory from over 5GB to just over 500MB. A dramatic difference with no noticable drop in quality.
This is a huge PR with many files touched. Obviously it'll take some time to review and properly test, although I did manage to start up a local server and it seems to function just the same.
This will also "conflicts" with existing PRs as those images will be added as pngs.
Maybe a more strategic (and easier to review) approach to the conversion would be to convert one or two brands of pedals at a time. The code supports using both png and webp files simultaniously so a slower roll-out is possible.
ps. This branch also includes changes from my PR #2173 as they were already in my forked master branch.