0

I manually outlined part of an image with the pen tool and now I'd like to draw a single solid color outline around it (white border). But it has to be all one exact color, no feathering anti aliasing, etc. Just an outline of white (255,255,255) pixels. It's for a machine learning project. Is this possible?

Thank you

1
  • Set the Foreground Color to the color you want to stroke with.
  • Select the Pencil Tool and select the Brush Size you want for the stroke.
  • Select the path you want to stroke with Path Selection Tool.
  • Right-click the path and select Stroke Path.
  • Set Tool to Pencil and click OK.

0

Draw a shape with the pen tool and set it's stroke options..

enter image description here

You can even do this with open paths in Photoshop...

enter image description here

3
  • Much simpler than my answer, but how do you disable anti-aliasing? – Wolff Dec 7 '20 at 17:52
  • @Wolff because it's vector it'll stay crisp. But there will always be a minute amount of anti-aliasing. If the desire is strictly the hard pixel stair step... then the pencil tool is better. I, perhaps incorrectly, assumed the question was more about soft edges than actual hard pixel stair steps. – Scott Dec 7 '20 at 17:55
  • I suspect, since the OP mentions "machine learning", that some script will analyze the pixels and that the stroke needs to be easily detectable. So not really "graphic design". – Wolff Dec 7 '20 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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