* Support HDR
* Support HDR
* When using SDWebImageProgressiveLoad and setting it to SDWebImageContextImageDecodeToHDR, it will be decoded to HDR only when loading is complete.
* When SDImageIOAnimatedCoder turns on incremental, it does not need to be decoded to HDR when it is not completed
* Sample image to remove sensitive information
* 1、use remote resources for HDR testing
2、add simulator log for HDR
* Support HDR encode
* Support HDR encode
* imageRef release error
* HDR Decoded is not required for decoding, otherwise the type will be lost
* HDR encode format
* hdrImageRef not released correctly
* HDR image must be lazy decode
* HDR image must be lazy decode
* JEPG HDR image must be lazy decode, otherwise it will crash
* HDR, encoding properties add kCGImageDestinationEncodeToISOGainmap, compatible with SDR displays while preserving HDR
* 支持 decode to HDR
* HDR encoding is not currently supported
* add UIImage.sd_isHighDynamicRange, use check UIImage is HDR
* refactor: Do not hack on HEICS and distinguish static/aniamted image encoding UTI
* refactor: Move cross-platform screen info into SDDeviceHelper
* change: Do not disable force decode when turn on decodeToHDR
Need actually check the HDR info of CGImage, or better, we can pre-decode to drop lazy HDR image
* change: use UIImage.imageRendererFormat when force decode using graphics renderer
This can inherit the possible info like dynamic range
* fix: When decode HDR image to SDR, need specify the decode request
Tested on macOS 14.5 and iOS 18.0 behavior
* test: Added unit test for HDR decoding
* demo: Update the macOS demo to show the HDR image
* test: workaround the SDR decode on Simulator environment
* change: The `sd_isHighDynamicRange` should check CGImage as fallback as well
* test: temp disable a unused test case
---------
Co-authored-by: DreamPiggy <lizhuoli1126@126.com>
- move the webp component + the libwebp dependency to SDWebImage/SDWebImageWebPCoder (including tests and demo)
- Xcode 9.4
- instead of directly linking the Demos to the frameworks, using CocoaPods (`Examples/Podfile`). This allows using SDWebImage/SDWebImageWebPCoder into our examples so we keep the WebP demos
- demos code cleanup and warnings resolved
- all links from docs (README, Migration guide, CHANGELOG) are full links, so they work even from external pages (i.e. https://cocoapods.org/pods/SDWebImage).
- added "Additional modules" section to README
* 'master' of https://github.com/rs/SDWebImage:
Fix CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning
Disable travis-ci email notification
Fix prefetcher test to first clear the disk cache, and manager test to only fulfill the finished one
Improve the travis-ci to not clean the build for dynamic framework to speed up the demo build
Create a subclass of NSBitmapImageRep to fix the GIF frame duration issue on macOS
Use lock instead of barrier queue to keep callbacks block thread-safe
Decode the image in the operation level's queue instead of URLSession delegate queue. Because URLSession delegate queue is a barrier queue and shared between different operations
Expose the read write to FLAnimatedImage associate to the UIImage to allow advanced feature like placeholder
Fix that SDImageCacheQueryDataWhenInMemory should response cacheType to memory cache when the in-memory cache hit (#2218)
Update the docs
Improvement download operation for priority and some protect (#2208)
Update the readme about macOS minimum deployment target version
Fix the macOS wrong minimum deployment target version to 10.9. And also fix the warning on Xcode 9 by enable more warning options
# Conflicts:
# SDWebImage.podspec
# SDWebImage.xcodeproj/project.pbxproj
# SDWebImage/SDImageCache.m
# SDWebImage/SDWebImageDownloaderOperation.m
# SDWebImage/SDWebImageFrame.h
* Refactor code. Move the C global function to a new SDWebImageCoderHelper class.
1. Create two method for animated image parse. Provide the way to allow animates on macOS
2. Create a new class called SDWebImageFrame to allow abstract usage for animated image
3. Fix EXIF orientation method will crash on iOS 7 because it’s a iOS 8 above API
* Change sd_imageLoopCount to retrieve GIF loop count for NSImage on macOS
* Adopt the refactor code, change our build-in coder with that coder helper method to reduce complexity
* Update the demo project on macOS to show animated WebP