Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
SDWebImage-static.xcframework.zip | 2024-11-01 | 16.9 MB | |
SDWebImage-dynamic.xcframework.zip | 2024-11-01 | 22.2 MB | |
5.20.0 - Animation Transformer with tint color source code.tar.gz | 2024-11-01 | 17.0 MB | |
5.20.0 - Animation Transformer with tint color source code.zip | 2024-11-01 | 17.2 MB | |
README.md | 2024-11-01 | 1.5 kB | |
Totals: 5 Items | 73.4 MB | 0 |
See all tickets marked for the 5.20.0 release
Features
Animation Transformer
- SDAniamtedImageView now supports to apply transformer (post-processing of frame), with the SDAnimatedImage. [#3761]
- You can apply transform like blurs, tint, CIFilters on animation frames.
-
- Detailed behavior: Transform is applied just after the frame been decoded, on the global decode queue.
-
- Detailed behavior: The transformed image replace the original decoded one, and re-use the design of
maxBufferSize
on SDAnimatedImageView
- Detailed behavior: The transformed image replace the original decoded one, and re-use the design of
Disk Cache
- Supports LRU eviction on disk cache, change the default expire type to accessDate instead of modificationDate [#3759]
-
- In previous versions, the disk cache does not actually supports LRU (The NSFileManager read API does not update the
accessDate
), this version fix this issue and change the default behavior to useaccessDate
- In previous versions, the disk cache does not actually supports LRU (The NSFileManager read API does not update the
Tint Color
- Add blend mode to UIImage+Transform tint color API, default blend mode changed to sourceIn [#3749]
-
- In previous versions, the blend mode use
sourceAtop
and does not match UIKit'stintColor
naming. We now usesourceIn
to match it.
- In previous versions, the blend mode use
-
- Due to this changes, the
SDWebImageTintTransformer
defaults to usesourceIn
blend mode as well. You can use transformer to tint SDAnimatedImageView as well
- Due to this changes, the
Fixes
- Fix sd_imageFormat sometimes returns undefined on static image [#3760]