Stroked box with no anti-alias

D
Posted By
djwhizzard
Mar 5, 2005
Views
2264
Replies
14
Status
Closed
A little frustrated with photoshop right now.

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

I’m not even going to go into the whirlwind of editing I’ve tried to get this to work. The closest I’ve come is a vectored box with an anti-alias. The only way I’ve been able to do this right is to create a filled black box on a raster layer and then to, very carefully, place a filled white box in it.

Please help!

–ROBERT

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

J
jjs
Mar 5, 2005
wrote in message
A little frustrated with photoshop right now.

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

(shrugs shoulders) – well, a cheap and dirty way is to use the shape tool to create a box, then right-click on the layer and take Blending options and then Stroke. Choose your color. Apply. Then right click on the Blending effect and then Create Layer. Now you have the stroke and original object in separate layers. Make a mask of the original object and there ya go – an outline. (You can also rasterizing the original box, then use the magic wand to select it, then go to the stroke layer and hit delete, then delete the original object, but people say masks are better.)
GJ
Geoff Jackson
Mar 6, 2005
A little frustrated with photoshop right now.

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

I’m not even going to go into the whirlwind of editing I’ve tried to get this to work. The closest I’ve come is a vectored box with an anti-alias. The only way I’ve been able to do this right is to create a filled black box on a raster layer and then to, very carefully, place a filled white box in it.

This should be easy to do. Make a new blank layer, use the rectangular marquee tool with zero feather to make a rectangular selection. Use a fixed size style if you need to be accurate. Go to Edit / Stroke… choose 1 pix width, colour, and location, OK. Deselect and you should have a box with a 1 pixel border.
Hope this is what you wanted.

Geoff

Geoff Jackson, Nottingham, UK.

www.gjphotographic.co.uk
(Remove the obvious to reply)
E
edjh
Mar 6, 2005
jjs wrote:
wrote in message

A little frustrated with photoshop right now.

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

(shrugs shoulders) – well, a cheap and dirty way is to use the shape tool to create a box, then right-click on the layer and take Blending options and then Stroke. Choose your color. Apply. Then right click on the Blending effect and then Create Layer. Now you have the stroke and original object in separate layers. Make a mask of the original object and there ya go – an outline. (You can also rasterizing the original box, then use the magic wand to select it, then go to the stroke layer and hit delete, then delete the original object, but people say masks are better.)
No need for Create Layer or the mask; just slide Fill Opacity to zero. Make sure the Stroke is set to Inside.

But that only works with a square cornered rectangle. If you have any rounded edges you will have antialiasing. Another way, with a rounded corner, say, is to use the Path option in the Shape tool and stroke by selecting a one pixel pencil in the Stroke dialog from the Paths palette or by hitting Enter


Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
Comics art for sale:
http://www.sover.net/~hannigan/batsale.html
I
iehsmith
Mar 6, 2005
On 3/5/05 6:01 PM, uttered:

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

Maybe I’m missing something, or CS is vastly different from my old 6.0.1. But why not just use the rectangular marquee tool, sekct your rectagular area (fixed or not), then edit/stroke?

inez
I
iehsmith
Mar 6, 2005
On 3/5/05 7:39 PM, Geoff Jackson uttered:

This should be easy to do. Make a new blank layer, use the rectangular marquee tool with zero feather to make a rectangular selection. Use a fixed size style if you need to be accurate. Go to Edit / Stroke… choose 1 pix width, colour, and location, OK. Deselect and you should have a box with a 1 pixel border.
Hope this is what you wanted.

Geoff

OOPS! Sorry for the redundancy. Didn’t see your message Geoff

inez
H
Hecate
Mar 6, 2005
On Sun, 06 Mar 2005 04:18:22 GMT, iehsmith
wrote:

On 3/5/05 6:01 PM, uttered:

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

Maybe I’m missing something, or CS is vastly different from my old 6.0.1. But why not just use the rectangular marquee tool, sekct your rectagular area (fixed or not), then edit/stroke?
It is different – just not *that* differ3ent. And you’re perfectly correct. As usual 😉



Hecate – The Real One

veni, vidi, reliqui
B
Brian
Mar 7, 2005
Hecate wrote:

On Sun, 06 Mar 2005 04:18:22 GMT, iehsmith
wrote:

On 3/5/05 6:01 PM, uttered:

I’m trying to create a box with no fill. Just an empty box with a 1 pixel black stroke, no anti-alias.

Maybe I’m missing something, or CS is vastly different from my old 6.0.1. But why not just use the rectangular marquee tool, sekct your rectagular area (fixed or not), then edit/stroke?

It is different – just not *that* differ3ent. And you’re perfectly correct. As usual 😉



Hecate – The Real One

veni, vidi, reliqui
hello,
are you lot all going insane, or am I missing something here? Why all these steps to do something so simple? Just click on the rectangle tool, then on the taskbar drop-down box choose option: 1 pixel stroke with 0% opacity (fill). Draw your rectangle and all is done. I surely have to be misinterpreting what you want djwhizz?
Just in case you were not aware, when you draw the rectangle, 2 sides look thicker than the remaining 2 (almost like the rectangle is being lit from top left), but this phenomenon disappears when you deselect the layer and you are left with a perfect sharp 1 pixel stroked rectangle. Tell me I am losing it Hecate?
Brian.
I
iehsmith
Mar 7, 2005
On 3/7/05 10:50 AM, Brian uttered:

Maybe I’m missing something, or CS is vastly different from my old 6.0.1. But why not just use the rectangular marquee tool, sekct your rectagular area (fixed or not), then edit/stroke?

It is different – just not *that* differ3ent. And you’re perfectly correct. As usual 😉



Hecate – The Real One

veni, vidi, reliqui
hello,
are you lot all going insane, or am I missing something here? Why all these steps to do something so simple? Just click on the rectangle tool, then on the taskbar drop-down box choose option: 1 pixel stroke with 0% opacity (fill). Draw your rectangle and all is done. I surely have to be misinterpreting what you want djwhizz?
Just in case you were not aware, when you draw the rectangle, 2 sides look thicker than the remaining 2 (almost like the rectangle is being lit from top left), but this phenomenon disappears when you deselect the layer and you are left with a perfect sharp 1 pixel stroked rectangle. Tell me I am losing it Hecate?
Brian.

My suggestion as stated above; which is 2 steps; was from the point of view of Photoshop 6.0.1. In 6.0.1 I don’t get stroke/fill options in the task bar of the rectangle tool; I just get unconstrained, square, fixed, proportional, from center. So, again, am I missing something?

I like using the marquee when I can anyway because I can see before I commit, and I get the option of stroking outside, center or inside.

inez
B
Brian
Mar 8, 2005
iehsmith wrote:

On 3/7/05 10:50 AM, Brian uttered:

Maybe I’m missing something, or CS is vastly different from my old 6.0.1. But why not just use the rectangular marquee tool, sekct your rectagular area (fixed or not), then edit/stroke?

It is different – just not *that* differ3ent. And you’re perfectly correct. As usual 😉



Hecate – The Real One

veni, vidi, reliqui

hello,
are you lot all going insane, or am I missing something here? Why all these steps to do something so simple? Just click on the rectangle tool, then on the taskbar drop-down box choose option: 1 pixel stroke with 0% opacity (fill). Draw your rectangle and all is done. I surely have to be misinterpreting what you want djwhizz?
Just in case you were not aware, when you draw the rectangle, 2 sides look thicker than the remaining 2 (almost like the rectangle is being lit from top left), but this phenomenon disappears when you deselect the layer and you are left with a perfect sharp 1 pixel stroked rectangle. Tell me I am losing it Hecate?
Brian.

My suggestion as stated above; which is 2 steps; was from the point of view of Photoshop 6.0.1. In 6.0.1 I don’t get stroke/fill options in the task bar of the rectangle tool; I just get unconstrained, square, fixed, proportional, from center. So, again, am I missing something?
I like using the marquee when I can anyway because I can see before I commit, and I get the option of stroking outside, center or inside.
inez
Well, I am not actually talking about the rectangle marquee tool, I am talking about the rectangle drawing tool. It draws rectangles, that is all it does! In PS CS there are options on the task bar (if that is what you call it in PS? – the context sensitive toolbar that changes options when you change tools.) It has an option to draw with no fill (0% opacity) and a 1 pixel stroke.

Brian.
B
Brian
Mar 8, 2005
Brian wrote:

iehsmith wrote:

On 3/7/05 10:50 AM, Brian uttered:

Maybe I’m missing something, or CS is vastly different from my old
6.0.1.
But why not just use the rectangular marquee tool, sekct your rectagular
area (fixed or not), then edit/stroke?

It is different – just not *that* differ3ent. And you’re perfectly correct. As usual 😉



Hecate – The Real One

veni, vidi, reliqui

I like using the marquee when I can anyway because I can see before I commit, and I get the option of stroking outside, center or inside.
One advantage of the rectangle drawing tool is that you can free transform the rectangle after you have drawn it. So you are not committed to the original rectangle you draw anyway. You can resize and rotate it any time you like, up until if and when you flattent the image.

Cheeers,
Brian.
J
jjs
Mar 8, 2005
"Brian" wrote in message

Well, I am not actually talking about the rectangle marquee tool, I am talking about the rectangle drawing tool. It draws rectangles, that is all it does! In PS CS there are options on the task bar (if that is what you call it in PS? – the context sensitive toolbar that changes options when you change tools.) It has an option to draw with no fill (0% opacity) and a 1 pixel stroke.

I can’t find those options.
I
iehsmith
Mar 8, 2005
On 3/8/05 12:17 PM, Brian uttered:

iehsmith wrote:

On 3/7/05 10:50 AM, Brian uttered:

Maybe I’m missing something, or CS is vastly different from my old 6.0.1. But why not just use the rectangular marquee tool, sekct your rectagular area (fixed or not), then edit/stroke?

It is different – just not *that* differ3ent. And you’re perfectly correct. As usual 😉



Hecate – The Real One

veni, vidi, reliqui

hello,
are you lot all going insane, or am I missing something here? Why all these steps to do something so simple? Just click on the rectangle tool, then on the taskbar drop-down box choose option: 1 pixel stroke with 0% opacity (fill). Draw your rectangle and all is done. I surely have to be misinterpreting what you want djwhizz?
Just in case you were not aware, when you draw the rectangle, 2 sides look thicker than the remaining 2 (almost like the rectangle is being lit from top left), but this phenomenon disappears when you deselect the layer and you are left with a perfect sharp 1 pixel stroked rectangle. Tell me I am losing it Hecate?
Brian.

My suggestion as stated above; which is 2 steps; was from the point of view of Photoshop 6.0.1. In 6.0.1 I don’t get stroke/fill options in the task bar of the rectangle tool; I just get unconstrained, square, fixed, proportional, from center. So, again, am I missing something?
I like using the marquee when I can anyway because I can see before I commit, and I get the option of stroking outside, center or inside.
inez
Well, I am not actually talking about the rectangle marquee tool, I am talking about the rectangle drawing tool. It draws rectangles, that is all it does! In PS CS there are options on the task bar (if that is what you call it in PS? – the context sensitive toolbar that changes options when you change tools.) It has an option to draw with no fill (0% opacity) and a 1 pixel stroke.

Brian.

Again, it’s a mattr of versions though. I don’t think the OP mentioned which version of PS. As for me, in 6.0.1, I don’t get those options for the rectangle tool in the task bar. I rarely use the shapes at all except for rounded corner rectangle; and now I barely use that and opt to do a lot of that stuff in AI 9 instead.

inez
E
edjh
Mar 9, 2005
mi
My suggestion as stated above; which is 2 steps; was from the point of view of Photoshop 6.0.1. In 6.0.1 I don’t get stroke/fill options in the task bar of the rectangle tool; I just get unconstrained, square, fixed, proportional, from center. So, again, am I missing something?
I like using the marquee when I can anyway because I can see before I commit, and I get the option of stroking outside, center or inside.
inez

In 6 it only appears in the Layer Styles dialog box. The advantage of this over the marquee is that the stroke remains much more editable. —
Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
Comics art for sale:
http://www.sover.net/~hannigan/batsale.html
I
iehsmith
Mar 10, 2005
On 3/9/05 6:47 PM, edjh uttered:

My suggestion as stated above; which is 2 steps; was from the point of view of Photoshop 6.0.1. In 6.0.1 I don’t get stroke/fill options in the task bar of the rectangle tool; I just get unconstrained, square, fixed, proportional, from center. So, again, am I missing something?
I like using the marquee when I can anyway because I can see before I commit, and I get the option of stroking outside, center or inside.
inez

In 6 it only appears in the Layer Styles dialog box. The advantage of this over the marquee is that the stroke remains much more editable.

Not sure how that would work with the OP’s wish for no fill, just stroke, unless he wanted to stroke the entire layer.

Otherwise, you’re right:)

inez

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections