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
selection rectangle snap to border
Moderators: helmut, XnTriq, xnview
-
- Author of XnView
- Posts: 45803
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: selection rectangle snap to border
Do you have tried 'auto crop'?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
Pierre.
-
- Posts: 192
- Joined: Fri Jan 06, 2006 6:11 pm
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.

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.
