• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to add a middle line between two paths?

Community Beginner ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

Hi All, 

 

I am trying to add a "middle line" in one of my photoshop images. I haven't found a nice way to do it, although I assme that there is one. Here is a visual representation of what I would like to accomplish: 

ponas_0-1713783753067.pngponas_1-1713783893363.png

 

Ideally I would like to just have a path to represent the middle of the two outer borders, which I can then applyu a stroke to. I have used contract, but this gives me two lines instead of one...

 

 

 

TOPICS
macOS , Windows

Views

517

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

You can apply the Outer Glow Layer Style, but you'll need to make some modifications to it. By default, the color applied to Outer Glow is white and the Blend Mode is set to Screen. Change the color to black and the Screen Mode to Multiply. You'll likely need to make the glow area larger, so increase the Size using the slider. It will still appear feathered, so increase the Opacity and decrease the Range. You might also try changing the Technique from Softer to Precise.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

I should add that the Outer Glow approach would be what you add to single stroke (the white in your example) and the Outer Glow would create the two black edges on either side.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

Unfortunately I only have the first image, so the black one. As I have many of those and would like to make an "Action" for adding a stroke in the middle (the stroke is not a solid brush, but a custom one). I hope what I am saying makes sense 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

Es gibt mehrere Möglichkeiten.
Es ist nicht wichtig, ob es sich um Vektorformen oder Pixel handelt. Es auch möglich, entweder eine farbige oder eine transparente Mitte zu erzeugen.

 

Vektor (mit weißer Mitte)

pixxxelschubser_1-1713820585536.png

 

Vektor (mit transparenter Mitte)

pixxxelschubser_2-1713820637066.png

 

Pixel (mit transparenter Mitte)

pixxxelschubser_3-1713820797944.png

 

------------------------------------------------------------------------------------------------------------------------------------------------------------------

Konstruktion:

Effekt: Schein nach Innen mit Schwarz (aber benutze für eine weiße Mittenkontur einen Schwarz/Weiss Gradienten)

pixxxelschubser_4-1713821255209.png

 

Mischoptionen (Regler für Schwarz etwas nach rechts schieben)

pixxxelschubser_5-1713821460561.png

 

Viel Spass

 

 

 

 

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

I don’t know if this is a good solution for you, but I tried a variation of Myra’s idea of using Layer Styles. Instead, I used two Strokes. Both are set to Position: Inside. The first one is black, and the second one is a thinner white stroke that goes on top of the black stroke.

 

This could not be done with the graphic as uploaded because Layer Styles apply only to non-transparent areas. So first, I had to click Remove Background in the Contextual Task Bar so that the graphic would have only transparency around it. That gave the Stroke style something to outline properly.

 

If you applied this to images of different sizes or line weights, you would probably have to adjust the Stroke: Size option for each Stroke instance. But otherwise, you could save this setup in the Styles panel so that you can apply it to other layers in one click.

 

Photoshop-nested-strokes.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

I achieved the effect by setting the stroke to black, positioning it inside, and applying a white color overlay. Is that the effect that the original poster is looking for?

White backgorund removed using Blend If slider.

stroke inside plus color overlay.jpg

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

I might have not written what I want to achieve that clearly, so forgive me. I will try again and try to be as detailed as possible. I want to only create a path that I can later apply a "brush" stroke to. If I just use the stroke tool, then I get a fill inside the object, but not with a brush that I would like... Here is a visual representation:

ponas_0-1713882645695.pngponas_1-1713882725587.pngponas_2-1713882798031.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

Are you talking about stroke path https://www.psd-dude.com/tutorials/stroke-path-in-photoshop.aspx? You can choose which brush to use.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

I know how to stroke the path, but I cannot get the path to be in the middle of the black logo (image 2)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

If you draw a single path with a stroke (the middle one), then you can apply a stroke as Layer Style that is wider than that one. Set it to Center (as opposed to Inside or Outside). The result will be that the Layer Style stroke will appear on either side of the path that is in the center.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 23, 2024 Apr 23, 2024

Copy link to clipboard

Copied

LATEST
quote

I know how to stroke the path, but I cannot get the path to be in the middle of the black logo (image 2)


By @ponas

 

Can you please show a few more examples? Maybe there is an easier way to create the exact centre line in other programs.

 

Unfortunately, there is no automatic way to do this in PS. But this setting gives you a very good visual aid for pixel areas to find the exact centre for your path and trace it manually.

 

pixxxelschubser_0-1713908497928.png

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines