Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I remove all white pixels?

11,924 views
Skip to first unread message

simple_...@yahoo.com

unread,
Jan 13, 2008, 1:06:39 PM1/13/08
to
I am trying to remove all white pixels from a monochrome (black and
black) picture imported into Adobe Photoshop 5.0 LE. The magic wand
does not work because it removes contiguous pixels only. Is there any
way to remove all white pixels?

Scott W

unread,
Jan 13, 2008, 1:13:04 PM1/13/08
to
On Jan 13, 8:06 am, "simple_langu...@yahoo.com"

There is a check box with the magic wand that turn on and off the
contiguous part of the operation.

Scott

(not quite so) Fat Sam

unread,
Jan 13, 2008, 3:07:25 PM1/13/08
to

Yes, this is quite simple, bt the key isn't in the use of the magic wand as
you might expect.
First open your image in photoshop.
Now open the "select" menu and choose the "colour range" option.
Now when the colour range window opens, click on a white area in your image,
and you'll see a small scale monochrome thumbnail preview giving you an idea
of the selection.
Click okay, and you'll find that in your image, all the white pixels in your
image have now been selected.
Hope that helps.


simple_...@yahoo.com

unread,
Jan 13, 2008, 5:18:30 PM1/13/08
to
"Fat Sam" <samandja...@knox.orangehome.co.uk> wrote:

> Now open the "select" menu and choose the "colour range" option.

Scott W <biph...@hotmail.com> wrote:

> There is a check box with the magic wand that turn on and off the
> contiguous part of the operation.
>
> Scott

These options do not exist in my version of the Photoshop. (5.0 LE.) I
guess I should upgrade it.

Foto Trix

unread,
Jan 13, 2008, 5:50:23 PM1/13/08
to
I use photoshop 6, I use the Remove Background button (hidden in the
eraser dropdown). I first resize the brush so big it covers
everything, then I just click on the color I want removed. You will
have to do some tweaking to get it to remove all the colors
continously (1st: noncontinuous, then other set to continuous). Not
the exact answer, but this is what I basically do to remove colors...

http://www.fototrix.com (mashup your photos online, add special
effects, frames and fun templates)
http://www.txt2pic.com

(not quite so) Fat Sam

unread,
Jan 13, 2008, 5:57:04 PM1/13/08
to

Aaah. I'm working from CS2....Sorry.
I'm not sure what tools you have avaliable in version 5 to be honest. I did
have it on my system running alongside CS2, but I got rid of it a few weeks
ago.


ronv...@gmail.com

unread,
Jan 13, 2008, 6:51:29 PM1/13/08
to
On Jan 13, 12:06 pm, "simple_langu...@yahoo.com"

Hi,
One possibility is to:
Create a new layer of white with as much white as you want to remove.
For example, rgb=252,252,252 to get ride of the top three. Place this
layer above the image you want the white removed from and set the
blend mode to difference. The do ctrl+alt+shft+e to make a stamp of
that image. The use that stamp as a mask for the image.

Good luck,
Ron

Nervous Nick

unread,
Jan 13, 2008, 8:24:42 PM1/13/08
to

Turn off your monitor? ;>)

--
YOP...

ray

unread,
Jan 13, 2008, 9:06:45 PM1/13/08
to

I don't understand - what are you going to replace them with after you
remove them?

Mike Russell

unread,
Jan 13, 2008, 6:57:37 PM1/13/08
to
<simple_...@yahoo.com> wrote in message
news:c7e46ac0-1ae5-4c5a...@e25g2000prg.googlegroups.com...

Here's one way to select all the white pixels in Photoshop 5 LE. First copy
the image to the clipboard, then go into QuickMask mode, and paste the image
to the mask.

Use levels to set everything below 255 to zero, and everything above it to
255. Because of the way Levels is implemented, you will need to do two
repetitions of this in order to get absolutely every white pixel. Switch
from QuickMask back to normal mode, and pure white pixels will be selected.
You may use your favorite method is to get rid of them.

More than likely there are easier and better ways to do what you are trying
to do. Full Photoshop has the dust and scratches filter that will do this
quickly and easily. Polaroid supplies an excellent plugin and stand alone
utility that does this, and it's free:
http://www.polaroid.com/service/software/poladsr/poladsr.html

Both of these filters use what is called an "Impulse Filter", which removes
noise from an image by replacing the noise with averaged values from nearby
pixels. When using these filters, I find myself using the lasso tool to
select dust specks from the shadows, followed by a dose of dust and
scratches. This avoids degradation of detail in the lighter areas of the
image. If this is what you want to do, Polaroid's Dust and Scratches could
save some work.
--
Mike Russell - www.curvemeister.com


The Bobert

unread,
Jan 14, 2008, 5:58:16 AM1/14/08
to
In article
<c7e46ac0-1ae5-4c5a...@e25g2000prg.googlegroups.com>,
"simple_...@yahoo.com" <simple_...@yahoo.com> wrote:

You've had some good methods suggested. Like most things PhotoShop, there
are many ways to do most things. Here's how I would do it.

Open Image
Select Magic Wand
Click on a white area.
Under Special Menu choose Similar

All white areas should be selected. Now what are you going to do?

--
Dogs have owners.
Cats have staff

Bob in Central California

The Bobert

unread,
Jan 14, 2008, 3:10:11 AM1/14/08
to

You've had some good methods suggested. Like most things PhotoShop, there

are many ways to do most things. Here's how I would do it.

Open Image
Select Magic Wand
Click on a white area.
Under Special Menu choose Similar

All white areas should be selected.

--

Don Stauffer in Minnesota

unread,
Jan 14, 2008, 10:19:12 AM1/14/08
to
On Jan 13, 4:18 pm, "simple_langu...@yahoo.com"

As an alternate method, can you magnify the image till you can see the
pixels clearly and use the clone tool to select an adjacent pixel and
clone it to the white one?

Message has been deleted

ray

unread,
Jan 14, 2008, 11:50:11 AM1/14/08
to
On Mon, 14 Jan 2008 08:08:35 -0800, Sir F. A. Rien wrote:

> ray <r...@zianet.com> found these unused words:

> Possibly transparency ...
>
> Answer: "Select => Similar

Possibly - it's certainly not clear to me.

Message has been deleted

simple_...@yahoo.com

unread,
Jan 14, 2008, 5:22:39 PM1/14/08
to
The Bobert <nob...@nowhere.nowhow> wrote:

> Open Image
> Select Magic Wand
> Click on a white area.
> Under Special Menu choose Similar

Thanks. It worked, but it took some experimenting. My first
experiments were in the Indexed Color mode. The magic wand always
crashed the Photoshop. Then I tried Grayscale mode - it worked much
better. I could select all the white pixels, but I could not remove
them, so I selected all the black pixels and I pasted them into a new
layer. This worked much better although I had to spend a minute
aligning the pasted pixels with the rest of the image.
________________________

ray <r...@zianet.com> wrote:

> I don't understand - what are you going to replace
> them with after you remove them?

I am trying to make a shading for a patent drawing. The U.S. patent
office does not accept computer renderings of 3D CAD drawings. The
drawings must have only two colors (black and white) and they must be
either hand-made, or they must look like hand-made drawings. This
means that the only way to make relatively nice 3D patent drawings is
to combine 3 layers (lines, shading, text) in the Photoshop or a
similar program. The two top layers must be transparent, so all the
white pixels must be removed.
________________________

Sir F. A. Rien <jaSP...@gbr.online.com> wrote:
> He/she/it just hasn't learned PS or know about pressing F1.

The Photoshop is very unstable, it lacks elementary features that one
expects in a professional program, and its help file is a bad joke. I
am used to AutoCAD, so I curse the Photoshop makers and I wonder why
the professional computer programmers have not driven the Photoshop
makers to the unemployment line.

John Navas

unread,
Jan 14, 2008, 5:43:47 PM1/14/08
to
On Mon, 14 Jan 2008 11:57:57 -0800, Sir F. A. Rien
<jaS...@gbr.online.com> wrote in
<jjfno35an7j21fmh8...@4ax.com>:

>The reason isn't important, the OP wants to remove -=all=- white pixels for
>some purpose. He/she/it just hasn't learned PS or know about pressing F1.

A well-known bug in PSE6 is that pressing F1 *doesn't* work!

--
Best regards,
John Navas
Panasonic DMC-FZ8 (and several others)

The Bobert

unread,
Jan 14, 2008, 5:55:51 PM1/14/08
to

> Open Image
> Select Magic Wand
> Click on a white area.
> Under Special Menu choose Similar


I typed Special instead of Select.

Open Image
Select Magic Wand
Click on a white area.

Under Select Menu choose Similar

ronv...@gmail.com

unread,
Jan 14, 2008, 6:05:42 PM1/14/08
to

simple_...@yahoo.com wrote:
> The Bobert <nob...@nowhere.nowhow> wrote:

>
> The Photoshop is very unstable, it lacks elementary features that one
> expects in a professional program, and its help file is a bad joke. I
> am used to AutoCAD, so I curse the Photoshop makers and I wonder why
> the professional computer programmers have not driven the Photoshop
> makers to the unemployment line.

Here is a list of the service packs from AutoCad LT from 1999:

http://usa.autodesk.com/adsk/servlet/ps/dl/index?siteID=123112&id=2334435&linkID=9240818#section9

I assume that's the version you're using. Is that correct - AutoCad LT
from 1999?

John Navas

unread,
Jan 14, 2008, 6:06:28 PM1/14/08
to
On Mon, 14 Jan 2008 14:22:39 -0800 (PST), "simple_...@yahoo.com"
<simple_...@yahoo.com> wrote in
<a40292b2-083d-4443...@f3g2000hsg.googlegroups.com>:

>I am trying to make a shading for a patent drawing. The U.S. patent
>office does not accept computer renderings of 3D CAD drawings. The
>drawings must have only two colors (black and white) and they must be
>either hand-made, or they must look like hand-made drawings. This
>means that the only way to make relatively nice 3D patent drawings is
>to combine 3 layers (lines, shading, text) in the Photoshop or a
>similar program. The two top layers must be transparent, so all the
>white pixels must be removed.

Why not just convert the image to grayscale, and adjust Levels Output to
eliminate pure white? What am I missing? Where are these white pixels
coming from? Do you have any before and after examples?

us...@domain.invalid

unread,
Jan 14, 2008, 6:31:03 PM1/14/08
to

>
>> I am trying to make a shading for a patent drawing. The U.S. patent
>> office does not accept computer renderings of 3D CAD drawings. The
>> drawings must have only two colors (black and white) and they must be
>> either hand-made, or they must look like hand-made drawings. This
>> means that the only way to make relatively nice 3D patent drawings is
>> to combine 3 layers (lines, shading, text) in the Photoshop or a
>> similar program. The two top layers must be transparent, so all the
>> white pixels must be removed.
>
>

That's not you do it in Photoshop. You make the layers
as black and white, most easily by using "threshold" in
Photoshop. Then you just set the layer conversion to "multiply"
and opacity to 100%. Finally, flatten layers.

Doug McDonald

Paul Furman

unread,
Jan 14, 2008, 8:32:46 PM1/14/08
to

Ah, OK that's what you're doing, filling in colors on a monochrome
bitmap. In photoshop the paintbucket might do what you need here... or
not. For future reference, the better tool for this is something like
Illustrator which can import the vector linework from ACAD & apply
gradients & line weights, etc. Also it's going to look better with
anti-aliased edges rather than jaggy forced bitmap edges. Zoom way in on
some text in photoshop & you will see gray pixels softening the edges.
Without those gray pixels it gets ugly.


> Sir F. A. Rien <jaSP...@gbr.online.com> wrote:
>> He/she/it just hasn't learned PS or know about pressing F1.
>
> The Photoshop is very unstable, it lacks elementary features that one
> expects in a professional program, and its help file is a bad joke. I
> am used to AutoCAD, so I curse the Photoshop makers and I wonder why
> the professional computer programmers have not driven the Photoshop
> makers to the unemployment line.

Photoshop is hard to learn and the help files are indeed a cruel joke.
Video tutorials are a nice way to go, or looking over someone's
shoulder. Simply tinkering will not get you far. I picked it up
gradually over about 15 years time working with people who know the
tricks. ACAD I mostly taught myself, they are *very* different.

Crashing isn't normal: something else must be going on. If the file size
is extremely large and/or too many undo levels are left in memory, that
could bring things to a near standstill but PS almost never crashes in
my experience.

Message has been deleted

John Navas

unread,
Jan 14, 2008, 9:48:45 PM1/14/08
to
On Mon, 14 Jan 2008 18:27:41 -0800, Sir F. A. Rien
<jaS...@gbr.online.com> wrote in
<6d6oo3hrt8i9j3oa8...@4ax.com>:

>"simple_...@yahoo.com" <simple_...@yahoo.com> found these unused
>words:


>
>>Sir F. A. Rien <jaSP...@gbr.online.com> wrote:
>>> He/she/it just hasn't learned PS or know about pressing F1.
>>
>>The Photoshop is very unstable, it lacks elementary features that one
>>expects in a professional program, and its help file is a bad joke. I
>>am used to AutoCAD, so I curse the Photoshop makers and I wonder why
>>the professional computer programmers have not driven the Photoshop
>>makers to the unemployment line.
>

>More likely your system is unstable.
>
>NEVER in more than 12 years of using PS from Version 3 up has the Magic wand
>EVER crashed the program!
>
>AutoCAD, OTOH ... earlier versions, click and pray (or was it prey?).

My own take is that AutoCAD has a much more logical menu system, and
that Photoshop has become less stable with each major release. Case in
point is Photoshop Elements 6, which has way too many painful glitches,
and a black user interface that's downright painful to use.

simple_...@yahoo.com

unread,
Jan 14, 2008, 10:17:21 PM1/14/08
to
Sir F. A. Rien <jaSP...@gbr.online.com> wrote:

> AutoCAD, OTOH ... earlier versions, click and pray (or was it prey?).

Between 1984 and 1997 I was a sort of living encyclopedia of AutoCAD.
At that time there were usually 3 or 4 annual releases of AutoCAD.
For example: 11a, 11b, 11c, 11d. The "a" release was buggy so I always
ignored it. The "c" release typically came out half a year later. It
was either perfect or almost perfect. When AutoCAD crashes, it
automatically saves the drawing file, so it is not a catastrophe, but
a nuisance. AutoCAD is a professional tool meant for those who are
willing to invest at least a few hundred hours in learning it and
customizing (programming) it. Photoshop cannot be compared to AutoCAD
- it looks and feels like a bonus program bundled on CD-ROM sold for
99 cents.

nospam

unread,
Jan 15, 2008, 12:26:34 AM1/15/08
to
In article <6d6oo3hrt8i9j3oa8...@4ax.com>, Sir F. A. Rien
<jaS...@gbr.online.com> wrote:

> "simple_...@yahoo.com" <simple_...@yahoo.com> found these unused
> words:
>

> >Sir F. A. Rien <jaSP...@gbr.online.com> wrote:
> >> He/she/it just hasn't learned PS or know about pressing F1.
> >
> >The Photoshop is very unstable, it lacks elementary features that one
> >expects in a professional program, and its help file is a bad joke. I
> >am used to AutoCAD, so I curse the Photoshop makers and I wonder why
> >the professional computer programmers have not driven the Photoshop
> >makers to the unemployment line.
>

> More likely your system is unstable.

no doubt it was. photoshop is extremely stable, but when run on flaky
hardware, crashes can occur.

> NEVER in more than 12 years of using PS from Version 3 up has the Magic wand
> EVER crashed the program!

i've used every version of photoshop since before 1.0 was released and
the only times it crashed that i can recall was in version 4 (i think
-- it's been way too long) when saving a jpeg could occasionally crash
if there was not enough memory, or a buggy third party plug-in, which
is not adobe's fault.

Message has been deleted

mian...@yahoo.com

unread,
Jan 15, 2008, 1:59:39 PM1/15/08
to
On Jan 15, 3:22 am, "simple_langu...@yahoo.com"

<simple_langu...@yahoo.com> wrote:
> ray <r...@zianet.com> wrote:
> > I don't understand - what are you going to replace
> > them with after you remove them?
>
> I am trying to make a shading for a patent drawing. The U.S. patent
> office does not accept computer renderings of 3D CAD drawings. The
> drawings must have only two colors (black and white) and they must be
> either hand-made, or they must look like hand-made drawings. This
> means that the only way to make relatively nice 3D patent drawings is
> to combine 3 layers (lines, shading, text) in the Photoshop or a
> similar program. The two top layers must be transparent, so all the
> white pixels must be removed.
>
If your drawings are bitmap-based (bmp, jpg, etc.), there's a
simple way to do what you want with MS Paint -

1. Save each layer as a separate picture
2. Open the bottom layer in MS Paint
3. Choose White as the background color (default)
4. Select "Paste from" from the Edit menu
5. Paste one of the other layers, choosing the transparent
background option (bottom of the tool bar)
6. Paste the third image

Paul Furman

unread,
Jan 15, 2008, 4:42:05 PM1/15/08
to

Photoshop is a very advanced professional tool. I'm constantly amazed
how many tricks await my discovery, though I'm probably equally amazed
how anyone ever discovers them :-)

simple_...@yahoo.com

unread,
Jan 15, 2008, 5:56:25 PM1/15/08
to
mianil...@yahoo.com wrote:

> If your drawings are bitmap-based (bmp, jpg, etc.), there's a
> simple way to do what you want with MS Paint -
>
> 1. Save each layer as a separate picture
> 2. Open the bottom layer in MS Paint
> 3. Choose White as the background color (default)
> 4. Select "Paste from" from the Edit menu
> 5. Paste one of the other layers, choosing the transparent
>    background option (bottom of the tool bar)
> 6. Paste the third image

There are no layers in MS Paint, version 5.1.

John Navas

unread,
Jan 15, 2008, 5:59:14 PM1/15/08
to
On Tue, 15 Jan 2008 14:56:25 -0800 (PST), "simple_...@yahoo.com"
<simple_...@yahoo.com> wrote in
<cd7c276a-efb9-49e5...@s13g2000prd.googlegroups.com>:

See step 1.

KatWoman

unread,
Jan 15, 2008, 6:02:02 PM1/15/08
to

<simple_...@yahoo.com> wrote in message
news:07e98683-8733-4db4...@q39g2000hsf.googlegroups.com...

> Sir F. A. Rien <jaSP...@gbr.online.com> wrote:
>
>> AutoCAD, OTOH ... earlier versions, click and pray (or was it prey?).
>
> Between 1984 and 1997 I was a sort of living encyclopedia of AutoCAD.
> At that time there were usually 3 or 4 annual releases of AutoCAD.
> For example: 11a, 11b, 11c, 11d. The "a" release was buggy so I always
> ignored it. The "c" release typically came out half a year later. It
> was either perfect or almost perfect. When AutoCAD crashes, it
> automatically saves the drawing file, so it is not a catastrophe, but
> a nuisance. AutoCAD is a professional tool meant for those who are
> willing to invest at least a few hundred hours in learning it and
> customizing (programming) it. > - it looks and feels like a bonus program
> bundled on CD-ROM sold for
> 99 cents.


So let's review
you are using an ANCIENT version of PS when you should be using ILLUSTRATOR
and complaining about PS sucking and then asking a PS group of PS fans to
help you by continuing to insult PS
IT DOesN'T CRASH FOR US

not version 4 not version 5 not 6 or 7.01 or CS
all worked fine on all my comps


>>>>Photoshop cannot be compared to AutoCAD

SO PROFOUND
OF COURSE NOT OR PS WOULD BE CALLED AUTO CAD DESIGN PROGRAM

PS does EXACTLY what it's designed for
FIX PHOTOS
AND IT DOES SO MUCH MORE FOR THOSE WILLING TO INVEST THE TIME AND PATIENCE
to learn it instead of whine about it people here told you several methods
Mike bothered to fully type the 5.0 ANCIENT method
let's review
RUDE
insulting
does not listen
whines
help this person??
I think NOT

simple_...@yahoo.com

unread,
Jan 16, 2008, 3:34:36 AM1/16/08
to
On Jan 15, 11:59 pm, John Navas <spamfilt...@navasgroup.com> wrote:

> >> 1. Save each layer as a separate picture
> >> 2. Open the bottom layer in MS Paint
> >> 3. Choose White as the background color (default)
> >> 4. Select "Paste from" from the Edit menu
> >> 5. Paste one of the other layers, choosing the transparent
> >>    background option (bottom of the tool bar)
> >> 6. Paste the third image
>
> >There are no layers in MS Paint, version 5.1.
>
> See step 1.

It works, but this is a crude method because it is nearly impossible
to make the corrections after the images have been combined. It is
much more convenient to separate the image into transparent layers.

John Navas

unread,
Jan 16, 2008, 10:59:27 AM1/16/08
to
On Wed, 16 Jan 2008 00:34:36 -0800 (PST), "simple_...@yahoo.com"
<simple_...@yahoo.com> wrote in
<1a9b38f7-1515-4420...@m34g2000hsf.googlegroups.com>:

Agreed. I only use MS Paint for certain trivial tasks.

mian...@yahoo.com

unread,
Jan 16, 2008, 2:03:19 PM1/16/08
to
On Jan 16, 1:34 pm, "simple_langu...@yahoo.com"

No one is claiming that MS Paint is a sophisticated image
processing software. Everyone knows that it's a very basic drawing
tool. But it does exactly what you said you wanted to do in your
OP and in your later statement that I quoted. Perhaps I missed an
earlier post where you said that you wanted to be able to alter
the combined image.

My apologies for suggesting such a simple solution. Maybe it's
because I'm not the type to take my Rolls Royce to pick up a few
items from the Mom & Dad store next door.

dvus

unread,
Jan 26, 2008, 10:06:57 AM1/26/08
to

<simple_...@yahoo.com> wrote in message
news:e9530c21-368a-46cd...@1g2000hsl.googlegroups.com...

> "Fat Sam" <samandja...@knox.orangehome.co.uk> wrote:
>
> These options do not exist in my version of the Photoshop. (5.0 LE.) I
> guess I should upgrade it.

I think you should be able to select one of the white pixels and then under
the SELECT menu click on "Select Similar".

--
dvus

dcar...@gmail.com

unread,
Jun 14, 2012, 4:41:13 PM6/14/12
to
On Sunday, January 13, 2008 1:07:25 PM UTC-7, (not quite so) Fat Sam wrote:
> simple_...@yahoo.com wrote:
> > I am trying to remove all white pixels from a monochrome (black and
> > black) picture imported into Adobe Photoshop 5.0 LE. The magic wand
> > does not work because it removes contiguous pixels only. Is there any
> > way to remove all white pixels?
>
> Yes, this is quite simple, bt the key isn't in the use of the magic wand as
> you might expect.
> First open your image in photoshop.
> Now open the "select" menu and choose the "colour range" option.
> Now when the colour range window opens, click on a white area in your image,
> and you'll see a small scale monochrome thumbnail preview giving you an idea
> of the selection.
> Click okay, and you'll find that in your image, all the white pixels in your
> image have now been selected.
> Hope that helps.

Your freaking brilliant! Thanks!

abbas...@gmail.com

unread,
Aug 16, 2013, 8:05:14 PM8/16/13
to
Thanks sam, that helped me much!
0 new messages