Photoshop Support - Main Photoshop News Photoshop Tutorials Photoshop Tools Photoshop Resources Photoshop Site Map
photoshop tutorials
photoshop tutorials - top logo
Photoshop Hacks by Shangara Singh - Sample Chapter

Photoshop Hacks by Shangara Singh - Sample Chapter
photoshop - tutorials, tips & tricks





Editing And Modifying Selection Masks
From the ExtremeTech book, Hacking Photoshop CS2 by Shangara Singh, published by John Wiley and Sons. (Reprinted with permission.)

Hacking Photoshop CS2 by Shangara SinghVery rarely is a new selection perfect. Invariably, you have to do some work on it before you can use it. Fortunately, after you have stored the selection in an alpha channel, you can modify it in a number of ways. You can use painting tools, transform commands, or filters to modify the alpha channel and then load it as a selection mask.

Using Painting Tools and Filters
Because selection masks are composed of grayscale images, you can use only black and white paint, or shades of the two, to modify a mask. When you activate an alpha channel containing a selection that you wish to modify, the foreground and background colors are automatically set to white and black, respectively. However, when you enter Quick Mask mode (Q), the foreground and background colors are set to black and white, respectively.

Painting with black in the alpha channel expands the masked areas and contracts the selected areas; painting with white has the opposite effect: masked areas contract and selected areas expand. If you paint with a shade of gray, areas become partially masked or partially selected, depending on the intensity of the gray. You can paint with a shade of gray by varying the opacity for the Brush tool from the options bar, or by using the numeric keyboard: Tap 1 to 10 to alter in 10% increments, for example; tap 2 to change the opacity to 20%; or tap a figure between 1 and 100.

There is one other way to paint with shades of gray without having to change the foreground color. If you have a pen and tablet, you can open the Brushes palette and enable Pen Pressure in the options for Other Dynamics. Now when you paint, you can control the shades by simply applying more or less pressure.

When it comes to modifying active selections, the Quick Mask mode is particularly good for running filters on the selection. When the mode has been invoked, you can use filters to contract, expand, soften, harden, or transform selection edges. For example, you can use the blur filters to soften edges (as noted previously), the Maximum and Minimum (Filter > Other) to expand and contract selected areas, respectively, and the distort or artistic filters to create fanciful selections. Try the various filters to see which ones work and which don’t (Figure 9-9). Not all filters can be applied in Quick Mask mode.

Figure 9-9: A frame created by (1) applying a border to a selection, (2) entering Quick Mask mode, (3) applying the Fresco filter, (4) creating a new layer and filling with a color, and (5) applying a layer style.

Here’s another use for Quick Mask mode and filter combo. It’s almost impossible to create smooth selections with the Lasso tool. If you need to smooth the jagged edges before you can use a selection, you have two options. One, choose Select > Modify > Smooth and enter a numeric value in the Smooth dialog box or, two, enter Quick Mask mode and apply Filter > Noise > Median. Both will produce similar results, but with the latter method, you will have visual feedback.

Warp Command
The new Warp command warps not only filled objects, type, and shapes but also selections. Using a combination of preset and custom warps, you can create almost any shape you can imagine. To warp a selection, take the following steps:

  1. With a selection active, choose Select > Transform Selection or right-click (Windows), Ctrl-click (Mac OS) the selection and then choose Transform Selection from the contextual menu.
  2. Next, click the warp icon in the options bar to invoke the Warp command (Figure 9-10).

    Figure 9-10: The options bar showing options for the transform command: A. Warp Style pop-up menu; B. Change The Warp Orientation (available after a warp style is selected); C. Switch Between Free Transform and Warp Modes.

  3. To effect a distortion, drag one of the four corner handles, one of the eight individual control points, or click in the mesh and then drag (Figure 9-11).

    Figure 9-11: A selection being warped by using the Edit > Transform Selection > Warp command; A. Corner handle; B. Original selection bounding box; C. Control point.

  4. When you are happy with the distortion, click the commit icon in the options bar or press Enter (Windows), Return (Mac OS).
  5. To move the selection bounding box, hold down Ctrl (Windows), cmd (Mac OS), click in the bounding box, and drag.

As does the Type tool, the Warp command has preset warps that can be accessed from the Warp Style pop-up menu in the options bar after the command is invoked (Figure 9-10). Furthermore, after you select a style, two other options become available to you. One, you can enter precise numeric values in the bend and distort text boxes; two, you can change the orientation by clicking the Change Warp Orientation button next to the Warp Style pop-up menu (refer to Figure 9-10).

Note: You cannot enter numeric values if you have chosen None or Custom from the Warp Style pop-up menu.

Preventing Rounded Corners when Expanding
When you expand a rectangular selection and stroke it by more than a pixel, you might have noticed that the stroke acquires rounded corners (Figure 9-12). This is not caused by a setting that you might have overlooked; it’s just the way the feature works. To prevent this unwanted side effect, you can employ one of the following three workarounds:

  1. Stroke inside the selection but be prepared to lose some of your image content.
  2. Expand the selection in one-pixel increments and then stroke inside. To do so, choose Select > Modify > Expand. If you need to modify by a large amount, create an action and run it on the selection as many times as necessary (see Chapter 15).
  3. With the selection active, enter Quick Mask mode. Choose Filter > Other > Maximum and enter the number of pixels by which you want to expand the selection. Exit Quick Mask mode and then stroke inside without fear of rounded corners.
Figure 9-12: Rectangular selection produces rounded corners when stroked on the outside.

Next section - Selection Mask Quick Hacks
Previous section - Creating And Saving Selection Masks



photoshop books
Hacking Photoshop CS2 by Shangara SinghThis is absolutely the ultimate guide to hacking Adobe's wildly popular graphics software, written by an Adobe Certified professional photographer and designer. This is serious, down and dirty, tweaking - blowing away the default settings, customizing appearance, optimizing performance, customizing tools and offering readers total control over Photoshop like never before.

With these 300+ hacks, readers will find their work with Photoshop faster and easier than ever. Roll up your sleeves, and dive into these hacks including: Faster Photoshop startup, Customizing the Photoshop interface, Hacking Photoshop's Tools, Access hidden dialog buttons, Hacks for Masks, Layers, Paths, Curves and Selections, Camera Raw tricks and so much more.

Available at Amazon.com (34% discount)

photoshop - tutorials, tips & tricks
back to top


photoshop tutorials - sidebar logo
search the Photoshop Support site
Adobe Photoshop Blog - Photoshop news and comments
Photoshop Blog
News, links and tips.
Adobe Photoshop Blog - Receive Updates via our XML/RSS feed
join our Photoshop Newsletter and win free prizes
Free Newsletter
Free monthly prizes.
Fluid Mask Photoshop Plugin
Fluid Mask Photoshop Plugin
Fluid Mask Photoshop Plugin
Fluid Mask - $10 Off
Plus free upgrades
Fluid Mask Tour
Total Training Photoshop DVDs - 20% discount
Total Training Photoshop DVDs - 20% discount
Total Training Photoshop DVDs - 20% discount
20% Discount
Total Training DVDs
Lightroom Resource Center - Adobe Lightroom tutorials and news
Lightroom - Main
LR Free Tutorials
LR Resources
free Photoshop video tutorials from Total Training
TOTAL TRAINING
Master Photoshop with Deke McClelland.
free Photoshop video tutorials from Total Training
View Free Clips
Free Dreamweaver Tutorials and Dreamweaver Templates - Resource Center - Main Page
DW Center - Main
DW Free Tutorials
DW Video Clips
DW Templates
Free Flash Tutorials and Flash Templates - Resource Center
Flash - Main
Flash Tutorials
Flash Templates
free Photoshop video tutorials from Total Training
TOTAL TRAINING
Dreamweaver 8
Learn It Today
free Dreamweaver video tutorials from Total Training
View Free Clips
Adobe Photoshop Elements - resource center
PSE Main Page
PSE Free Tutorials
PSE Free Clips
Apple Aperture resource center - Aperture tutorials and news
Aperture - Main
Aperture Tutorials
Aperture Reviews
Photoshop software & gear at special prices
Photoshop Deals
Photoshop software & gear at special prices.
CS3 Resources  - Photoshop 10 news
CS3 Resources
Photoshop 10 News
Photoshop Resources
Photoshop Tutorials
Free Tutorials
Photoshop 9 - CS2
Free CS2 Tutorials
Photoshop Brushes
Free Brushes
Photoshop Plugins
Free Plugins
Photoshop Actions
Free Actions
Photoshop Training
Free Video Clips
Free Stock Photos
Free Photos
Free Fonts Directory
Free Fonts
Free Textures
Free Textures
Digital Cameras
Resource Center
Inspiration
Websites & Artists
Photoshop News
Latest News
Photoshop Books
Latest Releases
Color Resources
Color Management
Just For Kids
Photoshop for Kids
How-To Articles
Photoshop Articles
GoLive Site
GoLive Tutorials
Quick Answers
Photoshop FAQ
Get In Touch
Feedback Form
photoshop tutorials - sidebar logo
search the Photoshop Support site
join our Photoshop Newsletter and win free prizes
Free Newsletter
Free monthly prizes.
Adobe Photoshop Blog - Photoshop news and comments
Photoshop Blog
News, links and tips.
Adobe Photoshop Blog - Receive Updates via our XML/RSS feed
free Photoshop video tutorials from Total Training
TOTAL TRAINING
Master Photoshop with Deke McClelland.
free Photoshop video tutorials from Total Training
View Free Clips
Free Dreamweaver Tutorials and Dreamweaver Templates - Resource Center - Main Page
DW Center - Main
DW Free Tutorials
DW Video Clips
DW Templates
free Photoshop video tutorials from Total Training
TOTAL TRAINING
Dreamweaver 8
Learn It Today
free Dreamweaver video tutorials from Total Training
View Free Clips
Adobe Photoshop Elements - resource center
PSE Main Page
PSE Free Tutorials
PSE Free Clips
PSE Reviews
PSE New Books
Apple Aperture resource center - Aperture tutorials and news
Aperture - Main
Aperture Tutorials
Aperture Reviews
Photoshop Resources
Photoshop Tutorials
Free Tutorials
Photoshop 9 - CS2
Free CS2 Tutorials
Photoshop Brushes
Free Brushes
Photoshop Plugins
Free Plugins
Photoshop Actions
Free Actions
Photoshop Training
Free Video Clips
Free Stock Photos
Free Photos
Free Fonts Directory
Free Fonts
Free Textures
Free Textures
Photoshop Elements
Resource Center
Digital Cameras
Resource Center
Inspiration
Websites & Artists
Photoshop News
Latest News
Photoshop Events
Upcoming Events
Photoshop Books
Latest Releases
Color Resources
Color Management
Just For Kids
Photoshop for Kids
How-To Articles
Photoshop Articles
GoLive Site
GoLive Tutorials
Quick Answers
Photoshop FAQ
Get In Touch
Feedback Form
© 1999-2005 PHOTOSHOPSUPPORT.COM
ALL RIGHTS RESERVED - MAY NOT BE REPRODUCED WITHOUT PERMISSION
Some material reproduced by permission of copyright owners
All trademarks mentioned are the property of their respective owners
[this website is intended as a public service]
• navigation bar inspired by Griffin Technology
• website design and development by Futura Studios
web hosting provided by Hostway •