Image optimization
In the previous pages of this chapter, we discussed how to handle images when they are ready to be loaded and displayed. We want now to discuss the way they get into the device and how to improve this process. It is now clear that images are big memory boulders, and instead of improving the user experience of our application, they can break it up if we do not take care of handling them properly. So, we can design the best framework to download images from a remote server, but if they are too large, or if their compression is not high enough, our application will be perceived as slow and expensive. Images need time and bandwidth to be downloaded. Hence, our aim is to find the right way to reduce their size as much as possible, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access