Hi Pierre
It would be nice to have another option in Settings/View/Auto image size similar to fit image to window but with a negative offset.
The use case for this is simple: I mostly use XNViewMP for cropping of images, and when you want to crop an image from either side, you have to scale it down a little bit so a margin appears between the image and the windows border so you can place mouse cursor and start the crop bracket.
The proposed "fit to windows with n% margin" should automatically create a n% margin between the image and the windows border.
Hope this makes any sense.
Auto image size - Fit image with an offset
Moderators: XnTriq, helmut, xnview