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

rotate(0) and rotate(0,false) both manipulate the image and probably shouldn't #1007

Closed
jonahlibrach opened this issue Apr 21, 2021 · 1 comment · Fixed by #1317
Closed
Labels
bug there is a bug in the way jimp behaves help wanted released This issue/pull request has been released.

Comments

@jonahlibrach
Copy link

Expected Behavior

Console should output:

[252,71]
[252,71]

Current Behavior

Tried this on multiple images, error happens in both:

[252,71]
[254,72]

Failure Information (for bugs)

Steps to Reproduce

let jimp = require('jimp');

let x = jimp.read('myImage.png').then(
  image => {
    console.log([image.bitmap.width, image.bitmap.height]);
    image.rotate(0);
    console.log([image.bitmap.width, image.bitmap.height]);
  }
)

Context

  • Jimp Version: 0.16.1
  • Operating System: macOS Mojave Version 10.14.1
  • Node version: 14.12.0

Failure Logs

@hipstersmoothie hipstersmoothie added help wanted bug there is a bug in the way jimp behaves labels Feb 6, 2023
@hipstersmoothie
Copy link
Collaborator

🚀 Issue was released in v1.1.2 🚀

@hipstersmoothie hipstersmoothie added the released This issue/pull request has been released. label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug there is a bug in the way jimp behaves help wanted released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants