Bad space utilization when using lots of icons
- Dominant language
- JavaScript
- Stars
- 186
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to call ShelfPack's `shrink` when generating the image file, as currently we're seeing a large unused area of the sprite:

Whilst the png will compress the area, it is fully loaded as ARGB_8888 on Android wasting a lot of memory (especially on bigger `@2x`)
Contributor guide
Research direction
Start by tracing the image-generation entry point and how ShelfPack is used there; the issue specifically asks whether ShelfPack's shrink operation can run while generating the image file. Done means the generated sprite has less unused area while preserving the icons and reducing the ARGB_8888 memory footprint described for Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100