Android Studio is the official IDE (Integrated Development Environment) for Android app development and it is based on JetBrainsâ IntelliJ IDEA software. Android Studio provides many excellent features that enhance productivity when building Android apps. Here, we are going to reduce and compress any image using the Android Studio.
Step By Step Implementation
Step 1: Go to the drawable folder
Firstly Go to res > drawable.
Step 2: Select image to convert
Then Right-click on the image that you want to compress and click on Convert to webp.

Step 3: Convert image to webp
Then a box will pop up. Make sure your minSdkVersion is 19. Now select the encoding Quality and click on Ok.

Step 4: Adjust size and quality
Now a box will pop up and will show the size of the image before compression and after compression. This image shows the size before compression. Here the size is 89.9 KB.

This image shows the size before compression. Here the size of the image is 46.2 KB. The handle is draggable to adjust the size and quality of the image. We have decreased in to 38 KB.

This is a dialog box that shows how much is saved.
Step 5: Check size on disk
You can also check the size from the properties of the image. Here also the size of 37.5 KB.
