Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

When I choose Select > Modify > Border and select a 1px border - the border I get is anti-aliased, hence if I fill my selection a 3px border is affected.

Is there a way to select a 1px aliased border?

share|improve this question

2 Answers 2

Instead of going your route and 'painting' the border, why not try layer styles > stroke (outside 1px)?

This should give you a clean 1px border with no alias. Also you can always go back and change its colour/size etc any time you need.

You can access layer styles from the bottom of the layes panel (FX) > Stroke.

Or similar to your approach, you can try edit > stroke (1px) this will 'paint' the border without anti-aliased.

share|improve this answer
    
Thx for helping out, Hasan :) I don't want a uniform stroke so I need to paint a selection. My "Edit > stroke" is greyed out. –  timkl Mar 7 '12 at 14:11
    
FX has Gradient stroke (non-uniform) as well by the way. Try select the area with marquee (M) or (w) then Edit>Stroke should become available. Or make sure your layer is not locked. Though you can only do solid line with this! –  Hasan Sahoglu Mar 7 '12 at 14:43
    
have another idea! you can manually draw a selection (M or L) around your shape and paint! Its not very straight forward but it would work. –  Hasan Sahoglu Mar 7 '12 at 15:06

Here's what I do.....

  1. Select all
  2. Zoom in and use the Single Row or Single Column Marque tool. Hold down Option/Alt and select one row along all 4 edges.
  3. Invert Selection (Select > Inverse)

That will give you a 1 pixel border without anti-aliasing.The Option/Alt key will subtract from the Select All, then you merely invert to get the 1 pixel edge.

Of course, you could also simply zoom in, use the Single Column/Single Row Marquee tools holding Shift to ad to the selection and just select the edge pixels.

Unfortunately the "Border" command always anti-aliases giving you 2 or 3 pixels at a minimum.

share|improve this answer

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.