Tuesday, May 3, 2016

Do paths in Adobe Photoshop have to be closed?


I am working to convert a png to a vector graphic. I am outlining the image using the pen tool. Photoshop insists that the pen tool produce closed loops in order for me to use the "Stroke path..." tool. Why is this?



Answer



I assume you're stroking a path by selecting a bitmap layer, then opening the Paths panel and using Stroke Path from the flyout menu.


Stroke Path



Stroke Path apply


If you have an open path, the result will only contain a stroke on the actual portion of the shape that is connected. So that's no good for what you want (although it is easy to close a path using the pen tool). This behaviour is the same as Illustrator's strokes.


Stroke Path via Paths


If you use a the new stroke feature in Photoshop CS6, only the portion of the shape that is connected will be stroked. Again, this is the same behaviour as Illustrator.


enter image description here


enter image description here


But... if you use a layer style stroke, the entire object will get a stroke, even if the path isn't closed.


Layer Style Stroke


So it depends on exactly what you need the path for, but there's certainly a way to have a path stroked around the entire object, even if the path isn't closed.





Photoshop can be a great way to trace bitmap images to create vector paths. Once you're done, you can export the paths to Illustrator, if that's where you'd rather have them (they'll be unstyled though).


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...