Skip to main content
serge1966
Participant
August 6, 2018
Answered

Stroke does not work on a BW image

  • August 6, 2018
  • 1 reply
  • 1859 views

I have a BW image where I need to get a contour only. First I would like to create a contour of a different color so that I could change black to white on the next step. Googling the problem, it looks like using Stroke is the answer. For some reason, the stroke is created for the whole sheet border, not for the image.

To reproduce, take any nice BW Disney image:

Chalkboard Disney CASTLE 22x42 Modern Chalk Vinyl Wall Lettering Words Wet Wipe Princess | Pinterest | Disney castle sil…

Copy

In Photoshop, create new, Color Mode: RGB

Paste

Layers | merge visible

Unlock layer

Layer | blending options

Enable stroke

Position: inside

Move size slider and the stroke applies to the sheet border.

Position: outside does not help

This topic has been closed for replies.
Correct answer Semaphoric

The Stroke follows around the transparency of a layer, either its inherent transparency, or that produced via a layer or vector mask. Assuming your image is not on the Background layer, with your selection active, Layer > Layer Mask > Reveal Selection. Then try adding your Stroke.

1 reply

JJMack
Community Expert
Community Expert
August 6, 2018

serge1966  wrote

Chalkboard Disney CASTLE 22x42 Modern Chalk Vinyl Wall Lettering Words Wet Wipe Princess | Pinterest | Disney castle sil…

Copy

In Photoshop, create new, Color Mode: RGB

Paste

Layers | merge visible

Unlock layer

Layer | blending options

Enable stroke

Position: inside

Move size slider and the stroke applies to the sheet border.

Position: outside does not help

I can not follow your step by step

Copy Image from  Browser to Clipboard OK did it

In Photoshop create new document.  I Created  Clipboard size. A new document with a white background layer opened. OK

Image mode RGB OK did that

Paste a new image layer 1 was added OK

Layer Merge visible  document was flattened to a Background layer OK

Unlock Layer. I converted the Background layer to a normal layer to unlock the layers transparency

Layer Blending Options

What about them ????

Enable stroke  Do you mean add a stroke layer style effect?

Position inside Do you mean Layer style stroke position Inside?

move size slide. Do you mean the layer style stroke size slider to stroke inside the layer shape?

Position outside does not help. There should be  no visible stroke than the stroke woul be outside the documents canvas and be clipped  off by the document canvas size.  Position center the stroke would be outside and inside the canvas size layer border.

You could stroke the castle by selecting it and stroking inside the selection.

JJMack
serge1966
serge1966Author
Participant
August 8, 2018

Hi, JJMack

Thank you for the prompt response! You've got everything right and I am sorry for not being detailed.

Layer | Blending Options

What about them ????

Meaning let's open Layer, then Blending Options and set the following options.

JJMack

Enable stroke  Do you mean add a stroke layer style effect?

I did not know how to explain it better -- on the Layer style dialog box (opened when I clicked Layer, then Blending options) there is a checkbox on the left with name Stroke, I meant when I check it, the stroke gets enabled, but my language may not be accurate.

Position: inside Do you mean Layer style stroke position Inside?

On the same dialog box there is option Position for which I select "Inside" value.

move size slider. Do you mean the layer style stroke size slider to stroke inside the layer shape?

There is slider called "Size" on the same page which I moved which caused the stroke to show on the image.

You could stroke the castle by selecting it and stroking inside the selection

I saw one article and one video where they just had an object in a layer and they did not make any selection prior to stroking. So I though they are missing something. However when I selected the object, the same stroking technique still does not work, the stroke again shows on the document canvas border, so may be I am missing a step here? How do you make it to work on the inside of selection?

.

Semaphoric
Community Expert
SemaphoricCommunity ExpertCorrect answer
Community Expert
August 8, 2018

The Stroke follows around the transparency of a layer, either its inherent transparency, or that produced via a layer or vector mask. Assuming your image is not on the Background layer, with your selection active, Layer > Layer Mask > Reveal Selection. Then try adding your Stroke.