You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample app demonstrates different aspects of working with WebP Image format on Android and allows comparing image quality and load times between PNG/JPG and WebP.
4
+
5
+
It is meant as a companion to the **[Optimizing Android App Size By Leveraging the WebP Image Format](https://medium.com/@domen.lanisnik/optimizing-android-app-size-by-leveraging-the-webp-image-format-87189f8c7603)** blog post.
6
+
7
+
Included are the following functionalities:
8
+
- Compare image quality and file size differences between original PNG image, losslessly converted WebP image and lossy converted WebP image
9
+
- Compare image quality and file size differences between JPG and converted WebP images
10
+
- Supports zooming images to view more details
11
+
- View how to load WebP images in Compose from a URL using Coil or Glide
12
+
- Benchmark image loading times between JPG and WebP image
13
+
14
+
The project contains all the PNG, JPG and WebP images. WebP images were converted from the original 100% quality PNG and JPG image. JPG images with different quality were compressed using [ImageMagick](https://imagemagick.org/index.php).
15
+
16
+
You can download the source code and build the app yourself or download the prepared APK file.
0 commit comments