forked from SDWebImage/SDWebImage
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from SDWebImage:master #103
Open
pull
wants to merge
548
commits into
CuratoOpenSource:master
Choose a base branch
from
SDWebImage:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ows something that add new handlers during checkDone
Fix redundant requests for the same url during decoding time
…, and always preserve pixel format info
Test RGB888/RGB16/ARGB8888/RGB16/RGBF works on CGImageCreateScaled, because it's Foundation of coder plugin for thumbnail processing
Fix the CGImageCreateScaled to support 16/32 bit depth CGImage (RGB161616) and always preserve pixel format info
…s state management Key idea: 1. Image Loading pipeline is based on `operation key`, when start/cancel it always need operation key 2. Stateful view has multiple operation key for different image property, we can use KeyPath as the hint to generate operation key 3. To make exists API compatible, we do not change much, however, in 6.0 we may do refactory and store all the loadState/operation/result into the single object, instead of 3
Add better support for stateful view (UIButton) for image URL/progres s state management
Make sure the assert work
Add extra check for empty data during URLSession data callback
…requests for the same operation key
…ptions Added `SDWebImageAvoidAutoCancelImage` to avoid cancel loading image requests for the same operation key
The scale using traitCollection.displayScale This only change source code
(Part 1) Support to build for visionOS (no package manager support)
update CHANGELOG
We need the `kSDCGImageSourceSkipMetadata`, or the EXIF orientation translated by JFIF stills contains the non-Up side, and apply twice (by Apple's ImageIO and us)
Fix the JFIF image orientation bug (which does not use EXIF but JFIF metadata)
Move the scripts from xcproj into the actual Scripts folder
Which fix the issue on M1 Mac for x86_64 cross-build
Added the visionOS support for "Build XCFramework" script target
Add autoreleasepool to DisplayLinkCallback to release objects
…ame URL in prefetcher list) breaks the `queryCacheType` option sematic We should only do optimization on `async` disk cache query case
…ry from disk only semantic
Update the test case url, that wikipedia url seems strange on iOS unit test
…mization Fix the issue that previous optimization for special case (multiple same URL in prefetcher list) breaks the `queryCacheType` option sematic
update CHANGELOG
* 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>
…lbackqueue Deprecate dispatch_main_async_safe, introduce two more policy `.safeAsyncMainThread` (for UIKit diffable data source) and `.safeAsyncMainQueue` (for most common cases)
… built-in transformers
…eserveImageMetadata
…t need main queue check at all This is the best practice for UI related code
…ImageMetadata_readwrite Allows user to directly customize preserveImageMetadata for our built-in transformers
Change the default callback queue policy to SafeAsyncMainThread, don't need main queue check at all
…_return fix: sd_colorAtPoint should early return when pixel format is not supported
This just forward the options, no extra logic
this need iOS 18 and macOS 15 device (not simulator)
…raw int value 0/1/2
Supports HDR encoding on Apple ImageIO coder
update CHANGELOG
ci: Fix the GitHub Action cd release
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )