Convert some data/example
images to webp
#3362
Merged
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.
I was inspired by #3358 and tackled some examples/data images. The size difference is not as great as starbuck's, but it's still 0.107 megabytes, take it or leave it. I considered converting wav to ogg, but the filesize was basically the same, I can add the conversion or convert them to a different formats if you know one. I didn't touch GIFs because I'm unsure why they are gifs in the first place, don't know if it'll break anything. Finally some images were required of their formats by some tests, so I left them. Oh, I also fixed a bug when using randint.
Yes, I made sure I enabled the lossless option when converting.
Details:
arraydemo.bmp -> .webp = 76854->39180 (-37674)
chimp.png -> .webp = 826->622 (-204)
static.png -> .webp = 1202->508 (-694)
cursor.png -> .webp = 2708->960 (-1748)
fist.png -> .webp = 86196->48246 (-37950)
frame.png -> .webp = 253->124 (-129)
liquid.bmp -> .webp = 11734->1810 (-9924)
midikeys.png -> .webp = 19666->9520 (-10146)
deleted danger.gif: -2761 (not used in codebase)
deleted blue.mpg: -6144 (not used in codebase)
Total bytes saved: 107,374