Compress Images Using Kotlin — Jetpack Compose
3 min readMay 3, 2024
Grab a coffee ☕, and let me show you how to decrease the size of an image.
Overview
We’ll build a small app that enables the user to pick an image from the gallery and after that, he can compress it.
Implementation
Let’s start by adding Coil dependency in the :app/build.gradle.kts
.