Skip to content

Conversation

@dreampiggy
Copy link
Contributor

New Pull Request Checklist

  • I have read and understood the CONTRIBUTING guide

  • I have read the Documentation

  • I have searched for a similar pull request in the project and found none

  • I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

  • I have added the required tests to prove the fix/feature I am adding

  • I have updated the documentation (if necessary)

  • I have run the tests and they pass

  • I have run the lint and it passes (pod lib lint)

This merge request fixes / refers to the following issues: ...

Pull Request Description

  1. Also works for CIFilter variant
  2. Added blend mode to transformer API as well

This close #3748

@dreampiggy
Copy link
Contributor Author

There are still some todo in some test case, I'll fix it and merge later

@dreampiggy dreampiggy force-pushed the feature/blend_mode branch 2 times, most recently from fba7e54 to e4dd492 Compare October 8, 2024 08:44
@dreampiggy dreampiggy added this to the 5.20.0 milestone Oct 8, 2024
@dreampiggy
Copy link
Contributor Author

Introduce the behavior changes:

The default blend mode changed from sourceAtop to sourceIn, match UIKit's behavior: https://developer.apple.com/documentation/uikit/uiimage/3327300-imagewithtintcolor

@dreampiggy dreampiggy changed the title Add blend mode to UIImage+Transform tint color API [Behavior changes] Add blend mode to UIImage+Transform tint color API, default blend mode changed to sourceIn Oct 8, 2024
@dreampiggy dreampiggy force-pushed the feature/blend_mode branch 2 times, most recently from 3686d56 to 92ee70c Compare October 8, 2024 09:20
…n` instead of `sourceAtop`

This matches the Apple UIKit's naming and behavior
@dreampiggy dreampiggy merged commit d573278 into SDWebImage:master Oct 8, 2024
@dreampiggy dreampiggy deleted the feature/blend_mode branch October 8, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants