expo-image 56.0.8 → 56.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/ImageView.swift +25 -7
- package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.module → 56.0.9/expo.modules.image-56.0.9.module} +7 -7
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.module.md5 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.pom → 56.0.9/expo.modules.image-56.0.9.pom} +1 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.9/expo.modules.image-56.0.9.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/prebuilds/output/debug/xcframeworks/ExpoImage.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoImage.tar.gz +0 -0
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCache.h +0 -5
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCoderHelper.h +1 -2
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/SDWebImage +0 -0
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCache.h +0 -5
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCoderHelper.h +1 -2
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/SDWebImage +0 -0
- package/prebuilds/spm-deps/SDWebImage/debug/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCache.h +0 -5
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Headers/SDImageCoderHelper.h +1 -2
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/SDWebImage.framework/SDWebImage +0 -0
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/DWARF/SDWebImage +0 -0
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImage.yml +1589 -1589
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCache.h +0 -5
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Headers/SDImageCoderHelper.h +1 -2
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/SDWebImage +0 -0
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/SDWebImage.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/DWARF/SDWebImage +0 -0
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImage.yml +1589 -1589
- package/prebuilds/spm-deps/SDWebImage/release/SDWebImage.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImage.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImage.yml +1653 -1653
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/debug/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageAVIFCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageAVIFCoder.yml +37 -37
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/SDWebImageAVIFCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageAVIFCoder.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageAVIFCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageAVIFCoder.yml +37 -37
- package/prebuilds/spm-deps/SDWebImageAVIFCoder/release/SDWebImageAVIFCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageAVIFCoder.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImageAVIFCoder.yml +37 -37
- package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/debug/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageSVGCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageSVGCoder.yml +13 -13
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/SDWebImageSVGCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageSVGCoder.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageSVGCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageSVGCoder.yml +13 -13
- package/prebuilds/spm-deps/SDWebImageSVGCoder/release/SDWebImageSVGCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageSVGCoder.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImageSVGCoder.yml +13 -13
- package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/debug/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageWebPCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageWebPCoder.yml +1219 -1219
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/SDWebImageWebPCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/SDWebImageWebPCoder.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/DWARF/SDWebImageWebPCoder +0 -0
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/Relocations/aarch64/SDWebImageWebPCoder.yml +1219 -1219
- package/prebuilds/spm-deps/SDWebImageWebPCoder/release/SDWebImageWebPCoder.xcframework/ios-arm64_x86_64-simulator/dSYMs/SDWebImageWebPCoder.framework.dSYM/Contents/Resources/Relocations/x86_64/SDWebImageWebPCoder.yml +1312 -1312
- package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/Info.plist +5 -5
- package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64/libavif.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64/libavif.framework/libavif +0 -0
- package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/libavif/debug/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/libavif +0 -0
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/dSYMs/libavif.framework.dSYM/Contents/Resources/DWARF/libavif +0 -0
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/dSYMs/libavif.framework.dSYM/Contents/Resources/Relocations/aarch64/libavif.yml +47 -47
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/libavif.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64/libavif.framework/libavif +0 -0
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/dSYMs/libavif.framework.dSYM/Contents/Resources/DWARF/libavif +0 -0
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/dSYMs/libavif.framework.dSYM/Contents/Resources/Relocations/aarch64/libavif.yml +47 -47
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/dSYMs/libavif.framework.dSYM/Contents/Resources/Relocations/x86_64/libavif.yml +47 -47
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/Info.plist +0 -0
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/_CodeSignature/CodeResources +1 -1
- package/prebuilds/spm-deps/libavif/release/libavif.xcframework/ios-arm64_x86_64-simulator/libavif.framework/libavif +0 -0
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.md5 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/image/expo.modules.image/56.0.8/expo.modules.image-56.0.8.pom.sha512 +0 -1
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8-sources.jar → 56.0.9/expo.modules.image-56.0.9-sources.jar} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8-sources.jar.md5 → 56.0.9/expo.modules.image-56.0.9-sources.jar.md5} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8-sources.jar.sha1 → 56.0.9/expo.modules.image-56.0.9-sources.jar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8-sources.jar.sha256 → 56.0.9/expo.modules.image-56.0.9-sources.jar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8-sources.jar.sha512 → 56.0.9/expo.modules.image-56.0.9-sources.jar.sha512} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.aar → 56.0.9/expo.modules.image-56.0.9.aar} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.aar.md5 → 56.0.9/expo.modules.image-56.0.9.aar.md5} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.aar.sha1 → 56.0.9/expo.modules.image-56.0.9.aar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.aar.sha256 → 56.0.9/expo.modules.image-56.0.9.aar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/image/expo.modules.image/{56.0.8/expo.modules.image-56.0.8.aar.sha512 → 56.0.9/expo.modules.image-56.0.9.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 56.0.9 — 2026-05-23
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [iOS] Fix `placeholder` failing to load images from the asset catalog (xcassets). ([#46170](https://github.com/expo/expo/pull/46170) by [@zhelezkov](https://github.com/zhelezkov))
|
|
18
|
+
- [iOS] Fix xcasset images not loading from JS due to `file://` scheme mismatch. ([#46170](https://github.com/expo/expo/pull/46170) by [@zhelezkov](https://github.com/zhelezkov))
|
|
19
|
+
|
|
13
20
|
## 56.0.8 — 2026-05-21
|
|
14
21
|
|
|
15
22
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -13,13 +13,13 @@ plugins {
|
|
|
13
13
|
apply plugin: 'com.google.devtools.ksp'
|
|
14
14
|
|
|
15
15
|
group = 'expo.modules.image'
|
|
16
|
-
version = '56.0.
|
|
16
|
+
version = '56.0.9'
|
|
17
17
|
|
|
18
18
|
android {
|
|
19
19
|
namespace "expo.modules.image"
|
|
20
20
|
defaultConfig {
|
|
21
21
|
versionCode 1
|
|
22
|
-
versionName "56.0.
|
|
22
|
+
versionName "56.0.9"
|
|
23
23
|
consumerProguardFiles("proguard-rules.pro")
|
|
24
24
|
|
|
25
25
|
buildConfigField("boolean", "ALLOW_GLIDE_LOGS", project.properties.get("EXPO_ALLOW_GLIDE_LOGS", "false"))
|
package/expo-module.config.json
CHANGED
package/ios/ImageView.swift
CHANGED
|
@@ -352,9 +352,7 @@ public final class ImageView: ExpoView {
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
private func maybeRenderLocalAsset(from source: ImageSource) -> Bool {
|
|
355
|
-
let
|
|
356
|
-
|
|
357
|
-
if let path, let local = UIImage(named: path) {
|
|
355
|
+
if let local = localAssetImage(from: source) {
|
|
358
356
|
renderSourceImage(local)
|
|
359
357
|
return true
|
|
360
358
|
}
|
|
@@ -362,6 +360,13 @@ public final class ImageView: ExpoView {
|
|
|
362
360
|
return false
|
|
363
361
|
}
|
|
364
362
|
|
|
363
|
+
private func localAssetImage(from source: ImageSource) -> UIImage? {
|
|
364
|
+
guard let path = localAssetName(from: source.uri) else {
|
|
365
|
+
return nil
|
|
366
|
+
}
|
|
367
|
+
return UIImage(named: path)
|
|
368
|
+
}
|
|
369
|
+
|
|
365
370
|
// MARK: - Placeholder
|
|
366
371
|
|
|
367
372
|
/**
|
|
@@ -412,6 +417,14 @@ public final class ImageView: ExpoView {
|
|
|
412
417
|
return
|
|
413
418
|
}
|
|
414
419
|
|
|
420
|
+
// Asset catalog (xcassets) images aren't resolvable by SDWebImage, so try the
|
|
421
|
+
// local lookup first — mirroring the proper source path in `maybeRenderLocalAsset`.
|
|
422
|
+
if let localImage = localAssetImage(from: placeholder) {
|
|
423
|
+
placeholderImage = localImage
|
|
424
|
+
displayPlaceholderIfNecessary()
|
|
425
|
+
return
|
|
426
|
+
}
|
|
427
|
+
|
|
415
428
|
// Cache placeholders on the disk. Should we let the user choose whether
|
|
416
429
|
// to cache them or apply the same policy as with the proper image?
|
|
417
430
|
// Basically they are also cached in memory as the `placeholderImage` property,
|
|
@@ -840,18 +853,23 @@ public final class ImageView: ExpoView {
|
|
|
840
853
|
}
|
|
841
854
|
|
|
842
855
|
func localAssetName(from url: URL?) -> String? {
|
|
843
|
-
guard let url
|
|
856
|
+
guard let url else {
|
|
844
857
|
return nil
|
|
845
858
|
}
|
|
846
859
|
|
|
847
|
-
|
|
848
|
-
|
|
860
|
+
// `ExpoModulesCore` converts scheme-less URI strings from JS via
|
|
861
|
+
// `URL(fileURLWithPath:)`, so asset names like "my_image" arrive here with
|
|
862
|
+
// `scheme == "file"`. Accept those alongside truly scheme-less URLs; reject
|
|
863
|
+
// remote/SF Symbol/blurhash/etc. schemes.
|
|
864
|
+
if let scheme = url.scheme, scheme != "file" {
|
|
849
865
|
return nil
|
|
850
866
|
}
|
|
851
867
|
|
|
868
|
+
// Use `relativePath` so we recover the original input ("my_image") instead of
|
|
869
|
+
// the absolute path it resolves to against the file:// base
|
|
870
|
+
var path = url.relativePath
|
|
852
871
|
if path.hasPrefix("/") {
|
|
853
872
|
path.removeFirst()
|
|
854
873
|
}
|
|
855
|
-
|
|
856
874
|
return path.isEmpty ? nil : path
|
|
857
875
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.image",
|
|
5
5
|
"module": "expo.modules.image",
|
|
6
|
-
"version": "56.0.
|
|
6
|
+
"version": "56.0.9",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
],
|
|
55
55
|
"files": [
|
|
56
56
|
{
|
|
57
|
-
"name": "expo.modules.image-56.0.
|
|
58
|
-
"url": "expo.modules.image-56.0.
|
|
57
|
+
"name": "expo.modules.image-56.0.9.aar",
|
|
58
|
+
"url": "expo.modules.image-56.0.9.aar",
|
|
59
59
|
"size": 319998,
|
|
60
60
|
"sha512": "85b14a962b634fa94cf6a9f9454622a6042c03ddf69f64582883c123e666e5ec06c96d63089113fca81e496d35684425268d255c92dcf8af9dd2c3decadd4a66",
|
|
61
61
|
"sha256": "fa68f31204c5cf8f7b9f152e34e1205dbd567eb0e4091d8f33f13a9fd1eedbc2",
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
],
|
|
158
158
|
"files": [
|
|
159
159
|
{
|
|
160
|
-
"name": "expo.modules.image-56.0.
|
|
161
|
-
"url": "expo.modules.image-56.0.
|
|
160
|
+
"name": "expo.modules.image-56.0.9.aar",
|
|
161
|
+
"url": "expo.modules.image-56.0.9.aar",
|
|
162
162
|
"size": 319998,
|
|
163
163
|
"sha512": "85b14a962b634fa94cf6a9f9454622a6042c03ddf69f64582883c123e666e5ec06c96d63089113fca81e496d35684425268d255c92dcf8af9dd2c3decadd4a66",
|
|
164
164
|
"sha256": "fa68f31204c5cf8f7b9f152e34e1205dbd567eb0e4091d8f33f13a9fd1eedbc2",
|
|
@@ -177,8 +177,8 @@
|
|
|
177
177
|
},
|
|
178
178
|
"files": [
|
|
179
179
|
{
|
|
180
|
-
"name": "expo.modules.image-56.0.
|
|
181
|
-
"url": "expo.modules.image-56.0.
|
|
180
|
+
"name": "expo.modules.image-56.0.9-sources.jar",
|
|
181
|
+
"url": "expo.modules.image-56.0.9-sources.jar",
|
|
182
182
|
"size": 59502,
|
|
183
183
|
"sha512": "1a1c817a4210555524a4d714fe1715f2c4b0b83526799c3ed488dfade351ed3f8db2a28165784583c986e4ac0fc70fe687a8e05879d34c2fdf53c3ee9e2004b7",
|
|
184
184
|
"sha256": "7d85d51a736a12e184dc829d4dfeeebb22b42f6d54a463eddd106f1e3d078ee4",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ba2e7807fbd470ff4860f9f6f0c089ed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
78c50dd4b52b6c723a97c076ae17eed3fb5c1989
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12b2a4a0f2014baaae747bc8b4d14bb106e2f625055162a7930dd6e53248b98f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0e0d47510977c160996dc6b14b9306d57cf39d455dab7086af7bc4683d990d89fda6235cd2f2f652357cc521b7afc430d0d5bbd242da9452e94f7fe093659397
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.image</groupId>
|
|
11
11
|
<artifactId>expo.modules.image</artifactId>
|
|
12
|
-
<version>56.0.
|
|
12
|
+
<version>56.0.9</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.image</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
926abbd0ca7e70dee4ab40eae23decf5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
22f78d50a575dc0bb379af814e2ea1474f60f175
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dac181fc86acf3057665e9bfb9672ccfdce3f514f1839e1117e0fc137cca93c0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b5741fd7df641e2ebf2b075d9743eb4caab9afdd9b135177153fe1249e677bcce3da53f68e52f6fb036710402e8970364595b15044c6f05d146e4c8217402300
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.image</groupId>
|
|
4
4
|
<artifactId>expo.modules.image</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>56.0.
|
|
7
|
-
<release>56.0.
|
|
6
|
+
<latest>56.0.9</latest>
|
|
7
|
+
<release>56.0.9</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>56.0.
|
|
9
|
+
<version>56.0.9</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260523133910</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8b0f0c7145a887c109603f9afdeb07dd
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
76514e9b69ebc33a99d70582d9d9c33827774cd4
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f5f420b63be0d52a939aef8d2f6395703458a806f62829686deb118e8648c8a9
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3cb427a879373c35580f22c2e5ad598283443f652250c409169ae74d89e78ff48268aed9f2dd6a9204aad85fc83ea48f68b3ee88ec0b8ae6291d099f45f46b09
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-image",
|
|
3
3
|
"title": "Expo Image",
|
|
4
|
-
"version": "56.0.
|
|
4
|
+
"version": "56.0.9",
|
|
5
5
|
"description": "A cross-platform, performant image component for React Native and Expo with Web support",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"types": "build/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^22.14.0",
|
|
25
25
|
"@types/react": "~19.2.0",
|
|
26
|
-
"expo": "56.0.
|
|
26
|
+
"expo": "56.0.4",
|
|
27
27
|
"expo-module-scripts": "56.0.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"jest": {
|
|
41
41
|
"preset": "expo-module-scripts"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6dfb0e4c958a1ea1d66d3f7952494ac58430ad45",
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "expo-module build",
|
|
46
46
|
"build:plugin": "expo-module build plugin",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./src/withexpoimage.ts"],"version":"5.9.2"}
|
|
Binary file
|
|
Binary file
|
|
@@ -263,7 +263,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
263
263
|
*
|
|
264
264
|
* @param imageData The image data to store
|
|
265
265
|
* @param key The unique image cache key, usually it's image absolute URL
|
|
266
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
267
266
|
*/
|
|
268
267
|
- (void)storeImageDataToDisk:(nullable NSData *)imageData
|
|
269
268
|
forKey:(nullable NSString *)key;
|
|
@@ -313,7 +312,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
313
312
|
* @param doneBlock The completion block. Will not get called if the operation is cancelled
|
|
314
313
|
*
|
|
315
314
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
316
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
317
315
|
*/
|
|
318
316
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
319
317
|
|
|
@@ -326,7 +324,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
326
324
|
*
|
|
327
325
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
328
326
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
329
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
330
327
|
*/
|
|
331
328
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
332
329
|
|
|
@@ -340,7 +337,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
340
337
|
*
|
|
341
338
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancellederation, will callback immediately when cancelled
|
|
342
339
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
343
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
344
340
|
*/
|
|
345
341
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
346
342
|
|
|
@@ -355,7 +351,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
355
351
|
*
|
|
356
352
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
357
353
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
358
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
359
354
|
*/
|
|
360
355
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context cacheType:(SDImageCacheType)queryCacheType done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
361
356
|
|
|
@@ -68,8 +68,7 @@ typedef struct SDImagePixelFormat {
|
|
|
68
68
|
/**
|
|
69
69
|
Return an animated image with frames array.
|
|
70
70
|
For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.
|
|
71
|
-
For AppKit
|
|
72
|
-
For AppKit after macOS 10.14, use APNG format, which has a better render result.
|
|
71
|
+
For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
|
|
73
72
|
|
|
74
73
|
@param frames The frames array. If no frames or frames is empty, return nil
|
|
75
74
|
@return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)
|
|
Binary file
|
|
Binary file
|
|
@@ -263,7 +263,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
263
263
|
*
|
|
264
264
|
* @param imageData The image data to store
|
|
265
265
|
* @param key The unique image cache key, usually it's image absolute URL
|
|
266
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
267
266
|
*/
|
|
268
267
|
- (void)storeImageDataToDisk:(nullable NSData *)imageData
|
|
269
268
|
forKey:(nullable NSString *)key;
|
|
@@ -313,7 +312,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
313
312
|
* @param doneBlock The completion block. Will not get called if the operation is cancelled
|
|
314
313
|
*
|
|
315
314
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
316
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
317
315
|
*/
|
|
318
316
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
319
317
|
|
|
@@ -326,7 +324,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
326
324
|
*
|
|
327
325
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
328
326
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
329
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
330
327
|
*/
|
|
331
328
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
332
329
|
|
|
@@ -340,7 +337,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
340
337
|
*
|
|
341
338
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancellederation, will callback immediately when cancelled
|
|
342
339
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
343
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
344
340
|
*/
|
|
345
341
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
346
342
|
|
|
@@ -355,7 +351,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
355
351
|
*
|
|
356
352
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
357
353
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
358
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
359
354
|
*/
|
|
360
355
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context cacheType:(SDImageCacheType)queryCacheType done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
361
356
|
|
|
@@ -68,8 +68,7 @@ typedef struct SDImagePixelFormat {
|
|
|
68
68
|
/**
|
|
69
69
|
Return an animated image with frames array.
|
|
70
70
|
For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.
|
|
71
|
-
For AppKit
|
|
72
|
-
For AppKit after macOS 10.14, use APNG format, which has a better render result.
|
|
71
|
+
For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
|
|
73
72
|
|
|
74
73
|
@param frames The frames array. If no frames or frames is empty, return nil
|
|
75
74
|
@return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)
|
|
Binary file
|
|
Binary file
|
|
@@ -263,7 +263,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
263
263
|
*
|
|
264
264
|
* @param imageData The image data to store
|
|
265
265
|
* @param key The unique image cache key, usually it's image absolute URL
|
|
266
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
267
266
|
*/
|
|
268
267
|
- (void)storeImageDataToDisk:(nullable NSData *)imageData
|
|
269
268
|
forKey:(nullable NSString *)key;
|
|
@@ -313,7 +312,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
313
312
|
* @param doneBlock The completion block. Will not get called if the operation is cancelled
|
|
314
313
|
*
|
|
315
314
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
316
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
317
315
|
*/
|
|
318
316
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
319
317
|
|
|
@@ -326,7 +324,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
326
324
|
*
|
|
327
325
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
328
326
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
329
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
330
327
|
*/
|
|
331
328
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
332
329
|
|
|
@@ -340,7 +337,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
340
337
|
*
|
|
341
338
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancellederation, will callback immediately when cancelled
|
|
342
339
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
343
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
344
340
|
*/
|
|
345
341
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
346
342
|
|
|
@@ -355,7 +351,6 @@ typedef NS_OPTIONS(NSUInteger, SDImageCacheOptions) {
|
|
|
355
351
|
*
|
|
356
352
|
* @return a SDImageCacheToken instance containing the cache operation, will callback immediately when cancelled
|
|
357
353
|
* @warning If you query with thumbnail cache key, you'd better not pass the thumbnail pixel size context, which is undefined behavior.
|
|
358
|
-
* @note In history, when disk cache hit, the image will write back into memory cache, which is mostly unwanted behavior. From new version this behavior is removed.
|
|
359
354
|
*/
|
|
360
355
|
- (nullable SDImageCacheToken *)queryCacheOperationForKey:(nullable NSString *)key options:(SDImageCacheOptions)options context:(nullable SDWebImageContext *)context cacheType:(SDImageCacheType)queryCacheType done:(nullable SDImageCacheQueryCompletionBlock)doneBlock;
|
|
361
356
|
|
|
@@ -68,8 +68,7 @@ typedef struct SDImagePixelFormat {
|
|
|
68
68
|
/**
|
|
69
69
|
Return an animated image with frames array.
|
|
70
70
|
For UIKit, this will apply the patch and then create animated UIImage. The patch is because that `+[UIImage animatedImageWithImages:duration:]` just use the average of duration for each image. So it will not work if different frame has different duration. Therefore we repeat the specify frame for specify times to let it work.
|
|
71
|
-
For AppKit
|
|
72
|
-
For AppKit after macOS 10.14, use APNG format, which has a better render result.
|
|
71
|
+
For AppKit, NSImage does not support animates other than GIF. This will try to encode the frames to GIF format and then create an animated NSImage for rendering. Attention the animated image may loss some detail if the input frames contain full alpha channel because GIF only supports 1 bit alpha channel. (For 1 pixel, either transparent or not)
|
|
73
72
|
|
|
74
73
|
@param frames The frames array. If no frames or frames is empty, return nil
|
|
75
74
|
@return A animated image for rendering on UIImageView(UIKit) or NSImageView(AppKit)
|
|
Binary file
|
|
Binary file
|