16

I spent 2 hours last night trying to figure out how to rotate an image in Java without clipping it. I was all in with a pencil and paper sketching everything out to make sure my math was right.

Turns out I was calculating the new image size correctly, but I used to wrong variables to define the new dimensions...

Sigh.

Comments
Add Comment