Page 1 of 1

Does XNView have an eraser function?

Posted: Wed Sep 12, 2012 7:17 pm
by marklovett
Hello friends,

Thanks for letting me use your software. Its been very helpful. I need to find an application in XnView that gives me the opportunity to white out parts of some pen and ink drawings I have digitized.
I would be grateful if you had the information so I could do this.

Sincerely,

Mark Lovett

Re: Does XNView have an eraser function?

Posted: Thu Sep 13, 2012 1:54 pm
by Drahken
Xnview doesn't have drawing/erasing tools, though there are 2 ways that you could achieve your goal;
1) Select a portion of pure white in the image, then hit ctrl+c to copy it to the clipboard. Now select an area where you want to "erase" some lines, now ctrl+v to paste the white bit into the selection (it will stretch to exactly fit the selected area), repeat the pasting process as needed (you shouldn't need to repeat the copying process though).
2) Use the paint plugin (filters->paint) to draw over the unwanted lines with white. Unfortunately there's no freehand tool though, just point to point & circles and squares.


edit: You can see this in action here: http://allspark.net/cypherswipe/xnview-erase.png
This is just a quick demo I threw together. The diagonal lines were done with the paint plugin, while the rectangular boxes were done with copy/paste.

Re: Does XNView have an eraser function?

Posted: Thu Sep 13, 2012 3:52 pm
by cday
I do it by selecting the area to be erased and then pressing the Delete key –- it couldn't really get much easier than that.

Set the background colour to white [or whatever] first: [Edited]

Edit | Background colour -- set white.

To select the area to be erased: click and drag to create a selection rectangle.

This has worked for me, so far…

Re: Does XNView have an eraser function?

Posted: Thu Sep 13, 2012 9:06 pm
by Drahken
The problem with the delete method is that it makes the deleted section the image's background color. While you can change the background color, it's difficult to get a specific color. In contrast, the copy/paste method lets you get exact colors (and even patterns) from the image, and the paint filter method has an eyedropper tool to get exact colors from the image.