Skip to content
Related Articles

Related Articles

Improve Article

How to Reduce and Compress Image Size in Android Studio?

  • Last Updated : 18 Apr, 2021

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.

Want a more fast-paced & competitive environment to learn the fundamentals of Android?
Click here to head to a guide uniquely curated by our experts with the aim to make you industry ready in no time!
My Personal Notes arrow_drop_up
Recommended Articles
Page :