Is there a way to remove a horizontal or vertical section of an image?
Posted: Fri Sep 19, 2025 3:46 am
As noted elsewhere, I'm migrating from IrfanView to XnView because XnView is available on both Mac and Windows, and I'm forced to work in both worlds. Generally, XnView does most of what I need.
There's one nifty feature in IrfanView that I have yet to find an equivalent for in XnView. Functionally, the feature is as follows (actually two conceptually identical features, one for horizontal, one for vertical):
Draw a box anywhere in an image to select a sub-section of the image.
Feature 1 - remove Horizontal strip: Choose a menu option to remove the entire horizontal strip that is defined by the upper and lower horizontal lines of the box.
Feature 2 - remove Vertical strip: Choose a menu option to remove the entire vertical strip that is defined by the left and right vertical lines of the box.
In either case, the 'unused dimension' of the box is immaterial; that is - if you are using 'feature 1', to remove a horizontal strip. the width of the box is immaterial; only the height matters; and similar for 'feature 2' - only the width matters.
The actual menu items are:
Feature 1: (Edit Menu) -> Remove/Insert Strip (uses selection) ->Remove horizontal strip (sel. height)
Feature 2: (Edit Menu) -> Remove/Insert Strip (uses selection) ->Remove vertical strip (sel. width)
(there are two additional features, to INSERT a horizontal or a vertical strip, but I don't ever use those).
So - is there anything like this in XnView, and if not, could it be added?
Here's a quick example of the feature in use. I use it all the time to remove 'white space' from screen shots, so I can eliminate wasted space. Below is a composite image, 'before and after'. On the original screen shot, I drew a box with specific upper and lower lines, and of arbitrary width. I then used the feature to remove the horizontal strip.
https://imgur.com/q8shynx

There's one nifty feature in IrfanView that I have yet to find an equivalent for in XnView. Functionally, the feature is as follows (actually two conceptually identical features, one for horizontal, one for vertical):
Draw a box anywhere in an image to select a sub-section of the image.
Feature 1 - remove Horizontal strip: Choose a menu option to remove the entire horizontal strip that is defined by the upper and lower horizontal lines of the box.
Feature 2 - remove Vertical strip: Choose a menu option to remove the entire vertical strip that is defined by the left and right vertical lines of the box.
In either case, the 'unused dimension' of the box is immaterial; that is - if you are using 'feature 1', to remove a horizontal strip. the width of the box is immaterial; only the height matters; and similar for 'feature 2' - only the width matters.
The actual menu items are:
Feature 1: (Edit Menu) -> Remove/Insert Strip (uses selection) ->Remove horizontal strip (sel. height)
Feature 2: (Edit Menu) -> Remove/Insert Strip (uses selection) ->Remove vertical strip (sel. width)
(there are two additional features, to INSERT a horizontal or a vertical strip, but I don't ever use those).
So - is there anything like this in XnView, and if not, could it be added?
Here's a quick example of the feature in use. I use it all the time to remove 'white space' from screen shots, so I can eliminate wasted space. Below is a composite image, 'before and after'. On the original screen shot, I drew a box with specific upper and lower lines, and of arbitrary width. I then used the feature to remove the horizontal strip.
https://imgur.com/q8shynx
