Images rendered in the WEBP file format can be much smaller than JPG and PNG files, while retaining nearly all of the image's original clarity. I'll describe how to convert your images to the newer format in Android Studio.
- [Narrator] When you package your Android applications…for deployment, you create an APK file…and you'll always want to keep that…APK file as small as possible.…One of the biggest corporates in expanding the size…of the APK file is image files.…When you use unoptimized JPG files or PNG files,…sometimes they can be much larger than you really need…and you could optimize those just like you do for the Web,…but there's an even better way in Android.…You can instead convert those files to a format called WebP.…
This format, created by Google, retains the resolution;…the clarity of the image, but creates a much smaller file…and in Android Studio 2.3 and later,…it's very easy to convert your existing…image files to the WebP format.…I'll demonstrate in this simple application…that uses a number of image files.…From the opening screen, when I click Run Code…in this application, I'm taken to a listing…and right now, it's only showing four rows, but I've…provided a lot more image files that you can work with.…
Whenever I select one of these rows,…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.