Jump to content

How do I make a 2 pixel wide line in an image 1 pixel wide?


Go to solution Solved by BoltBait,

Recommended Posts

I think to provide any meaningful responses we'd need to know a lot more about the image. In fact, I'd be surprised if anyone could give useful advice without seeing the image (or a very similar one). However, unless the image is very simple, or the lines are in an isolated region, I suspect it won't be an easy task.

Link to comment
Share on other sites

  • Solution
4 hours ago, saramello said:

The title says it all. I have several 2 pixel wide lines in an image that I need to make 1 pixel wide. Going through and either re-tracing or erasing half is very time consuming. Is there some plug-in or built in feature that would automatically thin lines? 

 

Try a built-in effect called Effects > Distort > Morphology:

 

image.png

Dilate mode makes lines thinner and Erode mode makes your lines thicker.

  • Like 1
Link to comment
Share on other sites

Na0nkS9.png
Here's an alternate way to do things using the image you gave. It only works when the lines are on a transparent layer and not frequently overlapping.
Make sure you get BoltBait's Bevel Object plugin from his plugin pack to start.

 

- Run the plugin with a depth of 1, strength of 1, black highlight & white shadow colors, and don't keep the original image
- Do Adjustments -> Brightness / Contrast with a contrast of 100 and a good middle number for brightness. I chose 52
- The lines should be black and white. Use the magic wand tool to select one of the colors (I selected white), in flood fill mode, and then delete that color

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.

Guest
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...