About this tutorial:
- Made in/for Photoshop CS, compatibility with earlier versions dependent on availability of a certain filter.
- May not be translatable to other software due to the above dependency.
- Skill level: intermediate (layer mask, saved selection, filter use)
- The results of the tutorial are highly dependent on the source image possessing certain characteristics. Expect your results to be different if your source image doesn't have lighting and color qualities very similar to the source image in this tutorial.
- Dialup users should be able to load this tutorial without difficulty. Most images are linked to rather than loaded inline.
I stumbled upon an image of one of the Olsen twins (don't know which one, don't normally pay enough attention to them to be able to tell them apart) different from the source for
olsen_systa's sample image, but well suited to this task. Note the white background, good range of highlights/midtones/shadows, and the lack of a shadow obscuring any part of the face. This image is ideal because it requires no manipulation prior to using the Threshold command (coming up soon). Other images may need a lot of color correcting before they could be made suitable for use in this tutorial, especially as regards shadows on the face. Choose your images wisely.
Step 1: Open your image. Duplicate the background layer and give it a useful name. (I named mine 'olsen, threshold'.) Save to PSD to get your working file established.
Step 2: Make sure your new layer (not the background) is highlighted and run menu option Image » Adjustments » Threshold... The default value in the Threshold dialog box is 128. For this image I increased it to 151 and, satisfied with the way it looked, pressed OK.
At the end of step 2 you should have something resembling the image to the left.
Step 3: With the threshold layer highlighted, run menu option Filter » Stylize » Diffuse... Select Anisotropic mode and press OK.
Step 4:Run menu option Select » Color Range... Use the eyedropper to sample the black portion of the image, then run the Fuzziness slider in the Color Range dialog box up to 200. Press OK. The black portion of the image should now be surrounded by marching ants.
Step 5: Run menu option Select » Save Selection... Give the selection a name and press OK. Press CTRL-D to deselect. We'll reload the selection later.
Step 6: Make a new layer on top of the others. Select the Paint Bucket tool. Set the tool to fill with a pattern rather than a color and fill the new layer. I used one of Photoshop's built-in patterns. You may use any pattern you like. (See the Layers palette at the end of step 6.)
Step 7: Make another new layer on top of the others and fill it with white. Add a layer mask to this layer by pressing the Add Layer Mask button on the Layers palette.
Step 8: Run menu option Select » Load Selection... Choose the selection you saved earlier from the dropdown menu in the Load Selection dialog box and press OK.
Step 9: Run menu option Edit » Fill... Fill the selection with black (which should correspond to your current background color if the mask layer is highlighted). Though you've filled the selection with black, you won't see black in the image. What you should see is the pattern fill from the layer below showing through where the selected mask was filled. Press CTRL-D to deselect. (See the Layers palette at the end of step 9.)
At the end of step 9 you should have something resembling the image to the left.
Step 10: With the mask layer still highlighted, select the Brush tool and choose a large, hard-edged brush. (I used the size 19 brush.) Painting on the mask with white as the foreground color, paint over those parts of the image you might not need, assuming you see extra stuff that doesn't need to be there. In this case, I cleaned up the lower part of the image. Here's my image after cleanup.
Adding text which shows the same properties as the image is done in much the same way the image itself was made.
Step 11: Select the Text tool, get a font you like and add some text. I chose Porky's and added a silly comic sound effect word to the image.
Step 12: Run menu option Select » Load Selection... The correct entry will already be selected by default in the dialog box, so just press OK. The text should now be surrounded by marching ants.
Step 13: Turn off visibility of the text layer. The text will disappear but the marching ants will be left behind. (Deselecting right now would be bad.)
Step 14: Highlight the mask layer and make sure the mask portion of the layer is selected. Run menu option Edit » Fill... Fill the selection with black (which should correspond to your current background color if the mask layer is highlighted, just like the last time we did this). Once again the pattern fill should show through the mask, making the text look just like the rest of the image. Press CTRL-D to deselect. (See the Layers palette at the end of step 14.)
Step 15: Save the PSD, then Save For Web in your preferred format, and you're done!

Translation note: The Diffuse (anisotropic) filter may make translation difficult, but you might be able to replace the use of that filter with Gaussian Blur, which I think is more widely available. When I tried using Gaussian Blur it didn't work particularly well due to my source image being relatively small. If you use a very large, high quality image and leave it at the very large size while working on it, Gaussian Blur may work well.

Comments
I was wondering if you could explain the color range tool a bit more? I'm wondering exactly what it does.
This is what I made...the starting picture wasn't as good, but I still like it...it has a style that is still pleasing.
http://i24.photobucket.com/albums/c30/d
The Color Range tool works similarly in that if you sample a color in the image with the eyedropper that becomes available when the Color Range tool is active, any colors that are close in value to the color you sampled will become partially selected. You can also alter the behavior of the eyedropper to add to or subtract from the selection based on sampling of other colors in the image. The Photoshop help file entry for Color Range can tell you more.
The image you linked to in your other comment looks like an excellent first run at the tutorial.
my results http://i11.tinypic.com/2cpf9mf.jpg
courtz xx
And also: I don't know if it's just me but I can't get any of the images to work. They were earlier, and now they come up with a 403 Forbidden error when I click on the links... Might just be me.
Anyway, great tut, have added to mems! XD
Glad you like the tutorial. :)
As a comment, to make the pattern work easier: since everything's in black and white anyway, filling a layer with the pattern and setting it to Screen over the image and text would look almost exactly the same, and be a touch less stressful. ;)
You know you love the Olsens. Hee. :)
This is my result and here is the original image.
They seem so much more useful than all of the selective color crap we see 3 thousand times a day.
http://i11.tinypic.com/2q9whl0.png
Just a suggestion,
Laura G.
PS. My image is here (keep in mind I had to subtract the background from mine)
http://photos.lauradkelley.com/effect-t
I didn't use the Type Mask tool because I am not familiar with it. The tutorial was made up entirely on the spot to answer
Even so, I appreciate you bringing the Type Mask tool to my attention. No matter how much I think I know about Photoshop, (and I really know rather little) I always find there's something new to learn about it, and Type Mask is one of those things. :)
http://i2.photobucket.com/albums/y20/kt
Oh, did you know that Lifehacker's picked up this post and is promoting it on their blog? The post's here.
Thanks for letting me know about the reference from Lifehacker.
Just FYI,
Thanks!
Humbaaba
As for how masks work, when editing the mask white represents what's masked and black represents what you can see through. At step 7 you fill that new layer with white, the add the layer mask. (The Layer Mask button is second from the left of the buttons on the bottom of the Layers palette.) At step 8 you load the saved selection from earlier in the tutorial. When you reach step 9, with the new fill layer highlighted and the mask thumbnail selected, the effect of filling that selection with black isn't that you see black when you fill the selection. You're not filling it with black as such. You're filling it with the color that represents a portion of that layer where the mask has been removed, allowing you to see through to the layer below.
One slightly confusing bit is that when you highlight a layer containing a mask and then select the mask portion of that layer, the two colors on the Tools palette are arbitrarily reversed. Don't let that throw you. Just remember than when you fill, you want to fill with black regardless of whether or not black happens to be the foreground or background color.
Hope this helps... :)
This is what I have with the Olsen twins picture; and then I went to find something else that could work well with this.
On the other hand, there's no reason why you couldn't go the opposite way and have the pattern show through most of the face, with the eyes, lips, and some of the nose be what's masked. Imagine a version of the final image where the patterned parts and the white parts are reversed.
The only thing I can really suggest is that you experiment and see what results you get. I think the racial/ethnic background of the subject of the photo will matter a lot less than the lighting and color qualities of the photo itself.
BTW, I found this through the Adobe site. The photoshop gurus had it in their del.icio.us bookmarks. :)
Result || Original
EDIT: Now that I look at it, I think I could have cleaned up his face a little more, but I'm pretty satisfied with the result. Thanks so much for the tutorial!
Edited at 2007-12-19 08:43 am (UTC)