Getting the White out of Line Art - Transforming Black & White Line Art into Line Art on a Transparent Ground (without losing a thing.)

This is less a tutorial than a tip. I'm using Photoshop CS2. If you're using a different version, your interface may look a little different, but all the instructions will still work.

Have you ever had a piece of black and white line art, but you needed it to be black lines on a transparent background instead? If your artwork is clean, there's a very easy way to accomplish it (and no, it's not just using the Multiply blending mode, which won't work if, say, you need it to make a Brush.)

Black and White Line Art (my logo, in this case.)

Open the art on its own layer. If necessary, hold down Option/alt and double click on the Layer Thumbnail, so it won't be the locked Background layer. (The Option/alt key prevents the Layer Options dialog from opening when making a Background Layer into a Normal Layer.)

Option/alt click the thumbnail to make it a normal Layer.

Select all (Command/ctrl+A) and Copy (Command/ctrl+C).

Create a new Layer Mask on that layer. (Click the New Mask icon at the bottom of the Layers palette.)

Make a Mask, using the Create Mask Icon.

Hold down Option/alt, and click on the Mask Thumbnail in the layer palette (the one on the right.) This will allow you to see the mask full size on your screen. It will look white, since there's nothing there yet. NOTE: This step is absolutely essential. If you skip it, the next step will paste the image onto a New Layer. If that happens, delete the layer, and repeat this step .

Option/alt Click on Mask Thumbnail.

Paste. (Command/ctrl+V) It should now show your line art, exactly as if you were looking at the normal layer, not the Mask. The Layer Palette, though, will show both images, side by side in the two thumbnails, with the "active" marks around the Mask thumbnail.

Paste the Image into the Mask.

Invert, (Command/ctrl+I or Image > Adjustments > Invert) so that you have white line art on a black ground.

Invert the Mask Layer

Click the Layer Thumbnail image, to return to normal viewing. The background will look transparent. (I'm using a custom color transparency. Your checkerboard will probably look different, but it means the same thing. Transparency!)

Return to Normal Viewing by clicking the Layer Thumbnail.

If you were to use the image now, though, you'd have gray edges on the art where the original black was anti-aliased on the white background, which would tend to give it the dreaded "White Halo."

I've added a blue fill below the art in this image, and set the Zoom to 500% so you can see what I'm talking about. (You can skip all of this, unless you want to see the halo on your own art.)

At this point, there's a white halo around the art.

So, Fill the image with Black. (Or whatever color you want to use.) (Command/ctrl+Delete to fill with the Foreground color.) The mask is now the line art, and the anti-aliased (semi-transparent) pixels will be filled with the color you've chosen, not a mixture of the original color and white. As you can see, the Halo is gone.

Remove the Halo by filling the Layer with the Foreground Color

Finally, Apply the Mask. (Right click the Mask Thumbnail, or control+click on a Mac with a one-button mouse, and choose Apply from the drop down menu.)

Apply the Layer Mask to complete the process

And that's it! The artwork is now perfectly translated from black lines on a white ground to whatever color you choose, on a transparent layer!

The finished art; linework on Transparency

Feel free to print this information, and use it for yourself; however, if you want to distribute it, use it for a class, or make it part of a CD or other course, please write to me for permission.

If you would like to see the other tutorials in this series, click here.