Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
SDWebImage-static.xcframework.zip | 2025-02-24 | 17.0 MB | |
SDWebImage-dynamic.xcframework.zip | 2025-02-24 | 22.3 MB | |
5.21.0 - HDR Support source code.tar.gz | 2025-02-24 | 18.3 MB | |
5.21.0 - HDR Support source code.zip | 2025-02-24 | 18.5 MB | |
README.md | 2025-02-24 | 2.1 kB | |
Totals: 5 Items | 76.1 MB | 0 |
See all tickets marked for the 5.21.0 release
Features
HDR Decoding
- Supports HDR decoding on Apple ImageIO coder (avif/heic/jpeg-xl, etc) [#3778]
-
- Note: Defaults to always use SDR, if you want HDR decoding, pass
SDWebImageContextDecodeToHDR: @(YES)
to context option. Pay attention even decoded CGImage is HDR ready, full rendering require display hardware support and per-image-view level control, it's recommended to read WWDC23 and use proper API to check for current display headroom to turn on HDR.
- Note: Defaults to always use SDR, if you want HDR decoding, pass
-
- Note: Apple ImageIO coder requires macOS 14/iOS 17+ for HDR decoding. For lower firmware you can consider AVIF/HEIF/JPEG-XL third-party codec
HDR Encoding
- Supports HDR encoding on Apple ImageIO coder [#3799]
-
- Note: Defaults to always use SDR, if you want HDR dencoding, pass
SDImageCoderEncodeToHDR: @(SDImageHDRTypeISOHDR)
for ISO HDR encoding. AndSDImageHDRTypeISOGainMap
for ISO Gain Map based HDR encoding (like JPEG for compatibility)
- Note: Defaults to always use SDR, if you want HDR dencoding, pass
-
- Note: Apple ImageIO coder requires macOS 15/iOS 18+ for HDR encoding. For lower firmware you can consider AVIF/HEIF/JPEG-XL third-party codec
Transformer
- Allows user to directly customize preserveImageMetadata for our built-in transformers [#3796]
UI Category
- Change the default callback queue policy to SafeAsyncMainThread, don't need main queue check at all [#3797]
-
- Note: This should make
sd_setImageWithURL
related UI API to work on case likeUICollectionViewDiffableDataSource
, which is running on main thread but not main queue.
- Note: This should make
Fixes
- fix: sd_colorAtPoint/sd_colorsWithRect should early return when pixel format is not supported [#3798]
-
- Note: In history this may return a wrong color for RGB10/RGB16 pixel format. Now it just return nil, which may supported in the future.