-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
How rotate image without quality loss #418
Comments
Do you have some example images that show de degradation? There can be some when you do a rotation at an "odd" angle like 15.7 and I don't think that you can avoid that. And what are your input images? |
That last image is not rotated? If it is possible you should avoid the intermediate rotations when you save the image. When the user has done 10 times a 9 degree rotation you somehow only remember the total rotation (90 degrees) and rotate the original image 90 degrees and then save it. |
Scenario:
|
When a JPEG image is opened, edited and saved again it results in additional image degradation. It's very important to minimize the number of editing sessions between the initial and final version of a JPEG image. My advise would be to keep a copy of the original image and do your operations on that image and then save the result as a separate image. |
Prerequisites
System Configuration
Question
How can I rotate image without quality loss? Currently with this code when multiple times rotation is called - quality is degradating with each rotation. When I Set image.Quality = 100, quality isnt degradated, but image has full size -> e.g. from 200kB -> 600kB.
THANKS!
The text was updated successfully, but these errors were encountered: