You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#8492
### Description
This PR adds support for `**kwargs` in the `ResizeWithPadOrCrop`
transform to fix the issue where extra keyword arguments were ignored,
causing errors in some workflows.
### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Enhanced zoom functionality to support additional parameters, allowing
for greater flexibility in image transformation operations.
* **Refactor**
* Improved handling of optional arguments in zoom-related
transformations for more customizable behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: IamTingTing <[email protected]>
Co-authored-by: YunLiu <[email protected]>
0 commit comments