Skip to content
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

Fix macOS bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyond the byte limit #3561

Conversation

dreampiggy
Copy link
Contributor

Also, expose the limit bytes calculation utils method

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

This fix the test case test13ThatScaleDownLargeImageUseThumbnailDecoding

…AnimatedImageRep and beyond the byte limit

Also, expose the limit bytes calculation utils method
@dreampiggy dreampiggy added bug macOS AppKit for macOS labels Jul 13, 2023
@dreampiggy dreampiggy changed the title Fix the bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyond the byte limit Fix macOS bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyond the byte limit Jul 13, 2023
@dreampiggy dreampiggy added fix and removed bug labels Jul 13, 2023
@dreampiggy dreampiggy merged commit f5f27a9 into SDWebImage:master Jul 13, 2023
4 checks passed
@dreampiggy dreampiggy deleted the bugfix/macOS_limitBytes_animatedImageRep branch July 13, 2023 14:53
@dreampiggy dreampiggy modified the milestones: 5.16.0, 5.17.0 Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix macOS AppKit for macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant