selection rectangle snap to border

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
User avatar
herr_k.
Posts: 187
Joined: Fri Jan 06, 2006 6:11 pm

selection rectangle snap to border

Post by herr_k. » Wed Feb 27, 2008 11:46 pm

so if i have a picture with a border and i want to delete the border around the picture, i have to manually move the selection rectangle to it and do a crop.
often i have to zoom so that no actual picture information is lost when wanting to remove only the border.
i would like an option like "snap selection to border" where the selection rectangle is automatically positioned on the last pixel (on each side) in front of the border.
thx

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

Re: selection rectangle snap to border

Post by xnview » Thu Feb 28, 2008 7:17 am

herr_k. wrote:so if i have a picture with a border and i want to delete the border around the picture, i have to manually move the selection rectangle to it and do a crop.
often i have to zoom so that no actual picture information is lost when wanting to remove only the border.
i would like an option like "snap selection to border" where the selection rectangle is automatically positioned on the last pixel (on each side) in front of the border.
thx
Do you have tried 'auto crop'?
Pierre.

User avatar
herr_k.
Posts: 187
Joined: Fri Jan 06, 2006 6:11 pm

Post by herr_k. » Thu Feb 28, 2008 8:14 am

yes.
it didnt worked, because (like with the transparencycolor on gif) there is no colorpicker. and i didnt see any matching backgroundcolor in the palette. so it wasnt cropped at all.

but i was thinking of an AUTOMATIC solution.
when there is a big color difference between the picture (or the border of a selection rectangle [1]) and the border of a picture, you press right mouse inside the rectangle, choose "selection until border" from menu, the rectangle should choose its size one pixel before that color change on all 4 sides [2]. and then you could manually press "crop" if the selection seems right.

Image

User avatar
herr_k.
Posts: 187
Joined: Fri Jan 06, 2006 6:11 pm

Post by herr_k. » Mon Oct 20, 2008 10:09 pm

bumper

Post Reply