Fill tool – what am I doing wrong?

N
Posted By
Nash
Feb 21, 2008
Views
536
Replies
11
Status
Closed
Hi all,
In my work I use scanned maps that I often need to put together to create a larger map. For this I use MapInfo, which has the ability to convert one of the colors in an image to transparent, which is quite handy for eliminating white spaces on overlapping adjacent map boundaries.
So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?
Well, apparently not. A small number of pixels retained some color, simply going lighter. Even after several subsequent uses of the fill tool, I can still see them like ghosts on the white background, and Info tool gives me their RGB values as e.g. 254, 253, 254. I tried using the Eraser tool on the selected area (needless to say the background color is white), to no avail.
Tried creating a new layer, copying the selection to it, setting again the layer opacity and fill to 100%, filling it with white – no go. The ghosts are still there, the histogram of the selected area showing them clearly.
The image is an RGB JPEG. When I do the same thing on some BMP files that are in Indexed color mode everything is OK, of course, I guess because of the simpler color scheme.
So, my question is: how do I fill *every* #$% pixel of the selected area with *exactly* the same color, and am I doing something wrong ?

TIA
Nash

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

G
Greg
Feb 21, 2008
Nash wrote:
Hi all,
In my work I use scanned maps that I often need to put together to create a larger map. For this I use MapInfo, which has the ability to convert one of the colors in an image to transparent, which is quite handy for eliminating white spaces on overlapping adjacent map boundaries.
So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?
Well, apparently not. A small number of pixels retained some color, simply going lighter. Even after several subsequent uses of the fill tool, I can still see them like ghosts on the white background, and Info tool gives me their RGB values as e.g. 254, 253, 254. I tried using the Eraser tool on the selected area (needless to say the background color is white), to no avail.
Tried creating a new layer, copying the selection to it, setting again the layer opacity and fill to 100%, filling it with white – no go. The ghosts are still there, the histogram of the selected area showing them clearly.
The image is an RGB JPEG. When I do the same thing on some BMP files that are in Indexed color mode everything is OK, of course, I guess because of the simpler color scheme.
So, my question is: how do I fill *every* #$% pixel of the selected area with *exactly* the same color, and am I doing something wrong ?
TIA
Nash

If you simply want to fill the area with white, use Edit/Clear. If you want to fill with a selected color, use the eyedropper tool to sample the wanted color and use Edit/Fill, Foreground color.

Colin D.


Posted via a free Usenet account from http://www.teranews.com
R
Ragnar
Feb 21, 2008
Nash wrote:
Hi all,
In my work I use scanned maps that I often need to put together to create a larger map. For this I use MapInfo, which has the ability to convert one of the colors in an image to transparent, which is quite handy for eliminating white spaces on overlapping adjacent map boundaries.
So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?
Well, apparently not. A small number of pixels retained some color, simply going lighter. Even after several subsequent uses of the fill tool, I can still see them like ghosts on the white background, and Info tool gives me their RGB values as e.g. 254, 253, 254. I tried using the Eraser tool on the selected area (needless to say the background color is white), to no avail.
Tried creating a new layer, copying the selection to it, setting again the layer opacity and fill to 100%, filling it with white – no go. The ghosts are still there, the histogram of the selected area showing them clearly.
The image is an RGB JPEG. When I do the same thing on some BMP files that are in Indexed color mode everything is OK, of course, I guess because of the simpler color scheme.
So, my question is: how do I fill *every* #$% pixel of the selected area with *exactly* the same color, and am I doing something wrong ?
TIA
Nash

Do you have the Tolerance setting on your Fill Tool set to less than 255?

R.
RG
Roy G
Feb 21, 2008
"Nash" wrote in message
Hi all,
In my work I use scanned maps that I often need to put together to create a larger map. For this I use MapInfo, which has the ability to convert one of the colors in an image to transparent, which is quite handy for eliminating white spaces on overlapping adjacent map boundaries.
So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?
Well, apparently not. A small number of pixels retained some color, simply going lighter. Even after several subsequent uses of the fill tool, I can still see them like ghosts on the white background, and Info tool gives me their RGB values as e.g. 254, 253, 254. I tried using the Eraser tool on the selected area (needless to say the background color is white), to no avail.
Tried creating a new layer, copying the selection to it, setting again the layer opacity and fill to 100%, filling it with white – no go. The ghosts are still there, the histogram of the selected area showing them clearly.
The image is an RGB JPEG. When I do the same thing on some BMP files that are in Indexed color mode everything is OK, of course, I guess because of the simpler color scheme.
So, my question is: how do I fill *every* #$% pixel of the selected area with *exactly* the same color, and am I doing something wrong ?
TIA
Nash

On your original selection, before inverting, did you have "Feather" set to Zero??

Roy G
J
jaSPAMc
Feb 21, 2008
"Roy G" found these unused words:

"Nash" wrote in message
Hi all,
In my work I use scanned maps that I often need to put together to create a larger map. For this I use MapInfo, which has the ability to convert one of the colors in an image to transparent, which is quite handy for eliminating white spaces on overlapping adjacent map boundaries.
So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?
Well, apparently not. A small number of pixels retained some color, simply going lighter. Even after several subsequent uses of the fill tool, I can still see them like ghosts on the white background, and Info tool gives me their RGB values as e.g. 254, 253, 254. I tried using the Eraser tool on the selected area (needless to say the background color is white), to no avail.
Tried creating a new layer, copying the selection to it, setting again the layer opacity and fill to 100%, filling it with white – no go. The ghosts are still there, the histogram of the selected area showing them clearly.
The image is an RGB JPEG. When I do the same thing on some BMP files that are in Indexed color mode everything is OK, of course, I guess because of the simpler color scheme.
So, my question is: how do I fill *every* #$% pixel of the selected area with *exactly* the same color, and am I doing something wrong ?
TIA
Nash

On your original selection, before inverting, did you have "Feather" set to Zero??

Roy G
….and ‘anti-alias’ OFF ???
J
Joel
Feb 21, 2008
Nash wrote:

<snip>
So, my question is: how do I fill *every* #$% pixel of the selected area with *exactly* the same color, and am I doing something wrong ?

I just can’t be able to get a clear picture of what you try to do, or why you have to find an easier way to make thing more complicate <bg>. So, I assume that the MAP (line and text) is BLACK (or some darker color), then

1. Scan the map, if it has lot of busy background then scan in color instead of B&W so you can be able to separate the LINE and background easier. IOW, I can’t tell which you have at your end to be able to give some specific method.

2. Now, instead of trying to make thing more difficult, I would pay more attention to the LINE and use tool’s to select the LINE (map), or try not to pay any attention to the background.

– If the LINE (map) is not dark enough then you can use Dodge/Burn to Darken the line, and Brighten the background.

– You can use Level to Darken the MAP and Brighten the background.

– Then you can use tool to select COLOR which may inclue some background which you should be able to clean up later (easily).

a. Paste the MAP selection to other canvas

b. or Invert the selection then DEL the background and you have a transparency MAP

That’s it! you should have a clean transparency MAP which you can paste to any screen, replacing background to anything (solid color of photo) you want.
T
Tacit
Feb 22, 2008
In article
,
Nash wrote:

So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?

No.

Photoshop does not have a fill tool. The Paint Bucket is not a fill tool the way it is in some programs. The Paint Bucket is a combination of the Magic Wand and a fill tool; it looks at the color of the pixel you clicked on, then spreads out in all directions, filling as it goes, until it hits pixels with a different color.

You do not use the Paint Bucket to fill a selection with color. That is not what it is intended for. In fact, you do not use any tool to do that. Instead, just hold down the Option (PC: Alt) key on your keyboard and press the Delete or Backspace key. That’s how you fill a selection with color in Photoshop.


Photography, kink, polyamory, shareware, and more: all at http://www.xeromag.com/franklin.html
N
nomail
Feb 22, 2008
tacit wrote:

In article
,
Nash wrote:

So, i used a polygonal lasso tool to very precisely select the image area, inverted the selection to select its rim and tried applying the fill tool to fill the rim area with white (RGB: 255, 255, 255). Blending mode Normal, Opacity 100%. The image is displayed on the Background layer, with Opacity and Fill both at 100%. According to Help, various books and tutorials that should fill every pixel of the selected area with the selected color, right?

No.

Photoshop does not have a fill tool. The Paint Bucket is not a fill tool the way it is in some programs. The Paint Bucket is a combination of the Magic Wand and a fill tool; it looks at the color of the pixel you clicked on, then spreads out in all directions, filling as it goes, until it hits pixels with a different color.

You do not use the Paint Bucket to fill a selection with color. That is not what it is intended for. In fact, you do not use any tool to do that. Instead, just hold down the Option (PC: Alt) key on your keyboard and press the Delete or Backspace key. That’s how you fill a selection with color in Photoshop.

Or choose ‘Edit – Fill’. Photoshop doesn’t have a fill tool, but it does have a fill menu.


Johan W. Elzenga johan<<at>>johanfoto.nl Editor / Photographer http://www.johanfoto.com
N
Nash
Feb 22, 2008
To try to kind of answer all at once:

I really meant Edit -> Fill, not Fill tool. My bad.

Selection’s Feather is set to 0, Anti-aliasing is off.

Edit -> Fill as far as I can see doesn’t have a Tolerance setting, but I guess you misunderstood me because of my mistake.

I haven’t tried Clear, but I will.

Thanks all 🙂

Nash
N
nomail
Feb 22, 2008
Nash wrote:

To try to kind of answer all at once:

I really meant Edit -> Fill, not Fill tool. My bad.

Selection’s Feather is set to 0, Anti-aliasing is off.

Edit -> Fill as far as I can see doesn’t have a Tolerance setting, but I guess you misunderstood me because of my mistake.

Edit – Fill doesn’t need a tolerance setting, because there is nothing to tolerate. It will fill the selection no matter what is inside that selection. The only exception I can think off right now is if you are trying to fill a layer with some transparent pixels and you have locked transparency for that layer.


Johan W. Elzenga johan<<at>>johanfoto.nl Editor / Photographer http://www.johanfoto.com
N
Nash
Feb 23, 2008
Tried Edit -> Clear as well, with the same result 🙁
The image I’m editing is scanned, it’s in the background layer and as far as I can see nothing is locked there. As a matter of fact, I can’t change any of the "lock" settings on the background layer. Whatever I do, when I look at the histogram of the area I’ve just "blanked" I can see there are still pixels of different color. I’m not very familiar with the way JPG works, maybe it’s something connected to the algorithm it uses to compress the image. I could swear there are more "un-blanked" pixels after I reopen the file, but I can’t really be sure. Anyway, they are still there immediately after I do the blanking. I’ll try playing with different image formats and see what happens.

Any other suggestions are very welcome 🙂

Nash

On Feb 22, 10:52 pm, (Johan W. Elzenga) wrote:

Edit – Fill doesn’t need a tolerance setting, because there is nothing to tolerate. It will fill the selection no matter what is inside that selection. The only exception I can think off right now is if you are trying to fill a layer with some transparent pixels and you have locked transparency for that layer.


Johan W. Elzenga           johan<<at>>johanfoto.nl Editor / Photographer  
K
keepout
Feb 23, 2008
On Sat, 23 Feb 2008 04:25:12 -0800 (PST), Nash wrote:

Tried Edit -> Clear as well, with the same result 🙁
The image I’m editing is scanned, it’s in the background layer and as far as I can see nothing is locked there. As a matter of fact, I can’t

So in the layers panel, do you have the layer you want to FILL selected ? Oh when I say Select a layer I just mean let the mouse select the layer, no fancy CRTL MOUSE, ALT MOUSE, etc.. Just touch the layer in the layers panel. The layer should be highlighted when you have.

Go to the layers panel and HIDE all layers EXCEPT the one you want to FILL. Then try to FILL with COLOR.

Is it possible you are using ‘SELECT RANGE’ on the layer, hitting just a few pixels before you FILL ?

A locked layer, double click the text in the layer panel, and call it the default [layer 0]. Lock disappears.

change any of the "lock" settings on the background layer. Whatever I do, when I look at the histogram of the area I’ve just "blanked" I can see there are still pixels of different color. I’m not very familiar with the way JPG works, maybe it’s something connected to the algorithm it uses to compress the image. I could swear there are more "un-blanked" pixels after I reopen the file, but I can’t really be sure. Anyway, they are still there immediately after I do the blanking. I’ll try playing with different image formats and see what happens.

To select specific colors to FILL, you need to use the menu SELECT RANGE. But that is like painting with a shot gun.

more pix @ http://members.toast.net/cbminfo/index.html

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