Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

How to Reduce and Compress Image Size in Android Studio?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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: Firstly Go to res > drawable.

Step 2: Then Right-click on the image that you want to compress and click on Convert to webp.

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

Step 4: 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 279.1 KB.

This image shows the size before compression. Here the size of the image is 74.5 KB.

Step 5: You can also check the size from the properties of the image. Here also the size of 74.5 KB.

My Personal Notes arrow_drop_up
Last Updated : 18 Apr, 2021
Like Article
Save Article
Similar Reads