damus
damus copied to clipboard
Proposal to replace image manager library - Kingfisher to SDWebImage
This branch requires more work until it is ready to be merged. I would like to know if we want to continue with the replacement before I proceed.
SDWebImage Pros
- A decoder for WEBP (and HEIF, BPG, FLIF, AVIF, PDF, and Lottie if needed)
- GIF downsampler
- Better performance
SDWebImage Cons
- More boilerplate to setup (will try to improve on this)
- Less customization (haven't figured out how to set a max size for when downsampling needs to happen)
- Written in Obj-C (might be harder to debug logs)
WebP Decoder
| Kingfisher | SDWebImage |
|---|---|
![]() |
![]() |
GIF Downsampler
| Kingfisher | SDWebImage |
|---|---|
![]() |
![]() |
Test - Downloading images while scrolling fast
| Kingfisher | SDWebImage |
|---|---|
![]() |
![]() |
Test - Downloading images while scrolling slow
| Kingfisher | SDWebImage |
|---|---|
![]() |
![]() |
Test - Loading cached images
| Kingfisher | SDWebImage |
|---|---|
![]() |
![]() |
very cool. will test









