Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted
  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.

share|improve this answer
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. – Alan Gilbertson Jun 1 '11 at 22:09

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.

share|improve this answer

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.

share|improve this answer

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/

share|improve this answer
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). – Kurt yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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