Jump to content

How to delete in a straight line

Recommended Posts

Hello! I was wondering if there was a way to delete things in a straight line (as the title suggests). Basically I'm stuck using the eraser with the smallest brush width to delete very precise contour in a background from an image and it would save me sooooooo much time if there was a way to create a straight line. The magic wand can't select areas precisely enough and I've even tried rectangle selection and then rotating but that isn't very practical either. I know there is a straight line tool, but it only seems to "draw" a straight line rather than actually delete anything (or maybe it does delete but I have no idea). Any suggestions would be greatly appreciated!

Link to comment
Share on other sites


You could duplicate the layer then turn off anit-aliasing.

Next choose a color that is not in the area that you want to delete.

Set your  desired brush width for the line you want to delete and draw over it with that selected color

then use the wand tool to delete that color.

Edited by HyReZ


Link to comment
Share on other sites

Hello @ooFumbles and Welcome :)


I'm not a 100% sure of your question, but here's an idea of using the magic wand to select an area:






How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

Link to comment
Share on other sites

One method for doing that is to use BoltBait's Paste Alpha plugin to paste in a line. Paste Alpha is useful for all sorts of detailed erasing tasks. Use the "Minimum of alpha and clipboard alpha" mode. Make sure you chose the proper clipboard alpha source of either alpha or shades of gray, depending on what you're doing.


Another, more direct, method is to choose the line/curve tool, is to set the Primary Color to transparent (alpha of 0), and the Blending Mode (in the Tool Bar) to Overwrite.

Link to comment
Share on other sites

The straight line being talked about is, from the sound of it not perpendicular on the canvas and therefore it is always going to be 'stepped'. In short it is actually not a straight line. That's the problem.


If you try rotating a Selection box you will not be able to place it so it doesn't overlap pixels at the edge of the area to be erased which you want to keep. Result is the previously straight edge ends up raggedy.


This is a theoretical solution, may not be practical or even work:-


Rather than rotate the Selection box I'm wondering if it would be possible to rotate either part of or even the whole image so the line to be erased is perpendicular to the edge. That should result in a clean, genuinely straight line to the edge to be erased up/down/left/right. Erase that with the selection tool in the normal way then rotate the image or part of the image back to its original orientation.


It may be necessary or at least a good idea to increase the canvas size so that the image can be rotated without clipping the corners.    




Edited by IHaveNoName


Link to comment
Share on other sites

  • 3 years later...

My preferred method is just to use a line tool size 20+ with the highlighter green colour, and with Antialiasing turned Off.  After drawing the green lines around all the areas I was deleted in a straight line, I just select the green areas with the magic tool and delete.







Edited by Danmansonman
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...