This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge development branch - v2.1.0 WebP optimization
- Loading branch information
Showing
15 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# An example Responsive Image Builder export | ||
|
||
![The original Unsplash image](a-pretty-background.jpg) | ||
|
||
<p align="center"><sub> | ||
The original picture from Unsplash is 4MB. It measures 6000x4000. | ||
</sub></p> | ||
<br> | ||
|
||
The export contains the pictures obtained with RIB using the default configuration. The standard-sized WebP image is only 134KB! That's roughly a 25% reduction in size and bandwidth compared to its identical JPEG twin. | ||
|
||
This is the kind of reduction that you can expect from WebP while maintaining the same or slightly superior quality. By playing with the encoding settings, you could drive those file-sizes down even further. | ||
|
||
See for your self! | ||
|
||
<br> | ||
|
||
![The resized JPEG image](export/a-pretty-background_normal.jpg) | ||
|
||
<p align="center"><sub> | ||
A decent 1620x1080 JPEG export that is 180KB | ||
</sub></p> | ||
<br> | ||
|
||
![The resized WebP image](export/a-pretty-background_normal.webp) | ||
|
||
<p align="center"><sub> | ||
A superior 1620x1080 JPEG WebP that is 134KB. Can you tell the difference? | ||
</sub></p> | ||
<br> | ||
|
||
Photo by Nathaniel Foong on [Unsplash](https://unsplash.com/photos/OVfKK18xzHA) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"exports":[{"name":"a-pretty-background","fullName":"a-pretty-background","extension":".jpg","webp":true,"sizes":[{"name":"thumbnail","width":16,"height":11},{"name":"small","width":1080,"height":720},{"name":"normal","width":1620,"height":1080,"default":true},{"name":"large","width":3240,"height":2160}]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters