xnview wrote:But when you rotate a picture, there is no background border to crop?
Hi Mr. Developer,
when you custom rotate a picture (let's say, 2 degrees counterwise) four triangles of background color are added to the image to make it rectangular (if you try it by yourself, you'll see...my english is so poor!

). A lot of graphic programs then added an option to automatically crop the resulting picture to avoid these 4 triangles...
Maybe these pictures will clarify...
Original
Rotated
This is the minimum crop needed to avoid generated background
Then cropped
Bye, and thanks!
PS As I say, this is the most common way to straighten a picture that is a little askew...you'll lose some pixel on the border when you crop, but it's often a lot more important that vertical lines (like buildings) are really vertical and horizontal ones (like horizon) are really horizontal
