How to create a stroke layer

The stroke layer is an image layer with only strokes and no entities.

Photoshop operation method:

1. Select the layer to be stroked, put the mouse in the small box of the layer, not in the text, hold down the ctrl key and click to convert the layer content into the selection;

2. Create a new layer and select Edit → Stroke;

3. Customize the stroke width and color and click OK;

4. Finally, hide the original layer in the layer panel and only show the layer after stroke.