-
Notifications
You must be signed in to change notification settings - Fork 216
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
Rotation of large images seems super slow. #20
Comments
Right now we are working on performance optimization and bug fixing as we head towards v1.0.0, so this is a good case to benchmark against. Could you please tell me the dimensions of the image, and if possible the specs of the computer? |
I optimized the Rotate function for special angles (for ex.: 90, 180, 270...), as these angles don't need supersampling when rotating. Now it performs much faster.
Also I partly optimized the Resize function which is part of how supersampling is handled, so non-special angles should see a small performance increase. More optimizations should be made on that. |
FWIW The image was 6000x4000. This was on a MBP, 2.2ghz, 16gb ram. |
I was just trying a basic example:
And it took super long:
The image is a 10mb photo.
The text was updated successfully, but these errors were encountered: