drawable-optimizer is a utility focused on reducing the size of Android app image assets to shrink APK/Bundle footprints. It scans res/drawable* and related resource folders and compresses images using configurable strategies, often achieving meaningful savings without visible quality loss. By running as part of the build, it automates a task that would otherwise require manual tooling passes on individual files. Developers can fine-tune which directories and formats to process and exclude sensitive assets where bit-exactness matters. The result is faster downloads, lower install sizes, and improved memory characteristics on resource-constrained devices. It fits naturally into continuous integration, ensuring optimizations remain consistent over time.
Features
- Applies PNG compression to Android drawable assets
- Helps reduce final APK size without sacrificing quality
- Integrated into Gradle build process for automation
- Simple plugin application with minimal configuration
- Ideal for apps targeting bandwidth- or storage-constrained environments
- Likely supports both lossless and lossy-safe optimization strategies