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: rotate resize param on multiples of 90 #1229

Conversation

sjoerd108
Copy link
Member

What's Changing and Why

Before #1209 specifying resize=false with rotate() would never resize the image, however the new matrix rotation algo will always resize the image regardless of this parameter. This PR introcudes some more checks to see if matrix rotation can be used and otherwise falls back to using advancedRotate

What else might be affected

Shouldn't affect anything, fixes incorrect behavior.

Tasks

  • Add tests
  • Update Documentation
  • Update jimp.d.ts
  • Add SemVer Label

@hipstersmoothie hipstersmoothie merged commit bc22100 into jimp-dev:main May 11, 2023
@github-actions
Copy link
Contributor

🚀 PR was released in v0.22.8 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants