Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple line question 2

Status
Not open for further replies.

Rydel

Programmer
Feb 5, 2001
376
CZ
I have trouble drawing a simple line in Photoshop. I want to draw 1px white line. I choose #ffffff color and 1px width, but the line comes out anti-aliased (e.g. a little bit bluish over blue objects, a bit redish over red objects, etc.)

I can't find a way to switch off this anti-aliasing. Please, help.

---
---
 
Hi,

Are you drawing a diagonal line?

What tool are you using to do this. If you use the Paintbrush set to 1 pixel you will get anti-aliasing, however if you use the Pencil tool you will get a solid line that comprises of only the foreground color on the tool pallete and it will look jagged (not smooth, like anti-aliasing).

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
Even easier: use the line tool. Double-clicking it gives you some options, including line width and anti-aliasing.

Hope this helps!
 
Thanks for your answers, although it didn't help that much.

2Spyderix: True, the pencil tool creates 1-px wide anti-aliased dots, but I want to use the line tool, not the pencil tool.

2Blueark: Yes. That's the one I'm using. I choose "1px" little dot on the and then double-click it to get to the line options. That's what I get:

BRUSH OPTIONS
Diameter: 1 px
Hardness: 0..100%
Spacing (checkbox + %)
Angle 0..180
Roundness 0..100%

I played around with all of them, but still it doesn't work. E.g. I have a dark blue background. And I want a whie line. The first time I draw it, it is a sort of blue. If I draw over it again, it becomes lighter. If I draw over it a couple more times, eventually it becomes white. How can I make it to be white from the first stroke?

---
---
 
What version of Photoshop are you using? I've tried 5.0LE, 5.5 and 6.0 (I'll try 7 tomorrow) and the options you describe don't seem to be options for the line tool. They sound like brush options rather than line (especially things like Spacing & Roundness).

Another point: if you're using 6 or 7, the line tool defaults to a vector line which doesn't have an anti-aliasing option, but one of the options allows you to change from 'New Shape Layer' to 'Create Filled Region'. This will give you an anti-aliased checkbox.

Hope this helps!
 
Hi,

Defineately sounds like you are using the paintbrush. The characteristics of the line getting darker each time you draw over top sounds like the paintbrush with the opacity less than 100% or the flow less than 100% or you have a blending mode set for the paintbrush or the brush is a soft edge brush.

If you are using PS-7 select the line tool then look at the OPTIONS BAR (WINDOW|OPTIONS) then set your line to 1 pixel and uncheck anti-aliased and just so that you don't get a shape layer look at the far left of the options bar there is a drop down with the line icon, then next to that are 3 little square buttons, click the third one right. Looks like just a plain square.

Just thought I would mention that if you are not drawing a 45º degree angle then an aliased 1 pixel line will not look very good. Why do you not want the line to be anti-aliased?

Anti-Aliasing creates an illusion of "blending" by placing similarly colored pixels next to one another fooling our eyes into seeing smooth line edges. These similar colored pixels are sometimes Alpha Transparencies and that is why you will see part of the blue through the line. Are you making this line on a seperate layer or on the same layer?

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
Just so we're clear: the line tool's icon is just a diagonal line. I've tried it again in PS 5.5 and the options you describe definitely aren't the line tool options.

In 5.5, the options are in a little floating palette and it's contents change depending on the active tool. Try selecting different tools while it's open to see what I mean. Now click on the line tool and you should see the antialiasing option.

You mention clicking on the 1px dot. This too sounds like a brush/pencil option. In the line options, you are asked for a numeric line width instead.

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top