Constrain selection size to image size

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
ddyment
Posts: 3
Joined: Mon Dec 15, 2008 4:36 pm
Location: San Francisco
Contact:

Constrain selection size to image size

Post by ddyment » Mon Dec 15, 2008 4:42 pm

I'm a longtime (and happy) user of XnView, and there is only one "problem" that is significantly annoying to my usage. When selecting an area using a fixed selection ratio, the area is not confined to the image, but allowed to "go offscreen". This is a real problem when cropping a series of images to a specific ratio, as one must take great care to ensure that the selection has not inadvertently gone outside the image.

I would like the selection rectangle to be confined to the actual image at all times (or at least have a user-settable option for this behaviour).

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: constrain selection to image

Post by xnview » Tue Dec 23, 2008 11:05 am

Ok, the zoom is not correct when view opened. If you click on '/', all is ok after
Pierre.

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: constrain selection to image

Post by xnview » Fri Jan 09, 2009 10:57 am

Please try XnView 1.96 beta
Pierre.

ddyment
Posts: 3
Joined: Mon Dec 15, 2008 4:36 pm
Location: San Francisco
Contact:

Re: constrain selection to image

Post by ddyment » Wed Oct 31, 2012 7:05 pm

This issue has never really been repaired, even in the current 1.99.5 release.

The problem occurs when making selections using a fixed ratio. While the program prevents the side of the selection rectangle that is being dragged from going "off image", it does not do the same for the other sides.

This behaviour is always annoying, but particularly so when the offending side only goes a little "off image", and is not noticed. So a subsequent crop operation will not produce an image of the correct ratio!

Hope this can be fixed (or made an option) in an upcoming release!

... Doug

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: constrain selection to image

Post by helmut » Mon Mar 11, 2013 11:17 pm

ddyment wrote:This issue has never really been repaired, even in the current 1.99.5 release. ...
This is more a bug report than a suggestion. From what I remember the whole thing became buggy when "Set selection size" was added a very long time ago. Since then, this never really worked 100% o.k. :bug:

Post Reply