3

I have a shape layer with a stroke (currently applied using a layer effect), and I would like to convert that to a shape layer that has two components, the shape and the stroke, both represented by paths.

My motivation for this is wanting to be able to resize my shape using free transform, and have the stroke resize with it, as if the stroke really is part of that shape.

At the moment the stroke thickness holds constant while I resize the shape, so that when I make the shape smaller, the stroke becomes relatively large and out of proportion.

5 Answers 5

2
  1. Control+click the layer's icon (for the layer that you want to stroke) in the layer palette in order to select the entire layer.
  2. Create a new layer.
  3. Fill the new layer with white, black, or any color that you want.
  4. Set the new layer's "Fill" to 0% in the layer palette.
  5. Double-click the new layer's icon in the layer palette (or select it and click "FX" at the bottom of the layer palette) in order to bring up the effects window.
  6. At the bottom, you will see "Stroke." Set it up how you want the stroke to look like. Alternatively, you could use an outer glow with some fancy properties to give you more control over the appearance of the stroke. Click "OK" to apply the stroke/glow.
  7. Select both layers and convert them to a "Smart Object" by running the following menu: Layer->Smart Objects->Convert to Smart Objects.

The stroke will now resize with the object, and since it is a smart object, you'll be able to edit its contents should you feel the need to change the color of the stroke, etc.

1
  • 1
    +1 for Nice and simple! The only caveat would be to create the original at a large size for ease of scaling, since the stroke is a raster image. Jun 1, 2011 at 22:09
0

It's not possible to do exactly what you're asking for in current versions of Photoshop.

You can fake it by duplicating the shape, then making the lower one slightly larger and changing its color to your stroke color. Select both layers and turn them into a Smart Object to scale them proportionally. This is also a way to apply multiple "strokes" to a shape.

0

Make a empty layer underneath the layer that has the stroke and then merge them. All layer effects will then bake into the above layer.

0

Photoshop does not have the feature of expanding appearance, like Illustrator. So what you can do is save the file as .eps format, open it in Illustrator and then grab the shape from there, with the stroke vectorized!

More details: http://alexandertazh.com/uncategorized-en/how-to-convert-photoshops-custom-shapes-stroke-to-a-vectorized-path/

1
  • 1
    Suppose the given link is broken your answer is no answer. Please add here (in own words) what is to do (you can add images here, just leave out the leading !, one with more rep can activate it).
    – Mensch
    Feb 9, 2016 at 18:04
0

I found a way! Here it is)) all effects and strokes are scaled

I found a way! Here it is)) all effects and strokes are scaled

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.