Photoshop
  Home arrow Photoshop arrow Page 3 - Photoshop Tricks, Part 1
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHOTOSHOP

Photoshop Tricks, Part 1
By: Sams Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 28
    2004-08-25

    Table of Contents:
  • Photoshop Tricks, Part 1
  • Trick 2: Creating an Image Out of Text
  • Trick 3: Borrowing an Image's Color Palette
  • Posterized Piper
  • Trick 4: Removing Fringing from Leaves
  • Touching up the Image
  • More Touch Ups
  • Other Selection Techniques

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Photoshop Tricks, Part 1 - Trick 3: Borrowing an Image's Color Palette


    (Page 3 of 8 )

    Borrowing an Image's Color Palette

    Actually, you'll learn how to steal an image's colors in this exercise because the word borrowing strongly suggests that you will put something back when you're done.

    Okay, here is the scenario: First, you cannot copyright or trademark the use of certain colors. You can get in a lot of trouble borrowing corporate colors for your own logo, but I'm talking about a beautiful autumn day or, in the case of this example, a poster that uses such nice colors together that you would like to sample and repurpose the color combination.

    Palletizing the colors in an image is easy. The hard part is knowing what to do with the colors when you're done! Gradients can command attention by using a color "set" like you create in this exercise, and frankly, there's a lot of mediocre black-and-white art—at least in my shoebox under the bed—that could get some new life pumped into it by the application of an interesting color palette.

    Sampling and Downsampling a Bunch of Colors

    I'm going to make this trick as simple and as ideal and as unrealistic as possible because I want you to understand what's going on and not necessarily how I set up the trick. So, suppose that the Getaway.psd image has the colors you want neatly located on a layer. Here's how the tune goes:

    Copying and Downsampling Colors
    1. Open the Getaway.psd image from the Examples\Chap24 folder on the companion CD. Figure 24.9 shows the image in black and white, but check out the image file and the color section of this book to get a nice idea of the colors as they'll appear on your screen.

    bouton

    Figure 24.9 --The word Tropical contains about 2,275 unique colors, but this number is the result of the blends between colors. Actually, the text contains only about 20 striking colors. And you want them!

    1. On the Layers palette, right-click (Macintosh: hold Ctrl and click) on the Tropical layer, and choose Duplicate Layer. In the Duplicate Layer dialog box, under Destination, choose New from the Document drop-down menu. Click on OK, and the text appears in an image window the same size as the Getaway.psd. Crop the image.

    2. Choose Image, Adjustments, Posterize. Now, I read the Photoshop documentation, and it says that the Posterize command will take as many colors as you enter in the number box, times the bits per channel. So, as you can see in Figure 24.10—you should be doing this, too—a Posterize amount of 3 will yield an image that has, um, 24 colors!

    bouton

    Figure 24.10 -- You still retain a lot of the original colors, even though some colors shift, when you apply Posterize to a 24-bit RGB image.


    Note - Color sampling I consider this the hard but more accurate way of color sampling: You start with a blank Swatches palette (provided as Blank.aco in the Chap24 folder), use the Eyedropper tool to sample a color, drop it on the Swatches palette, and then name the color. If you hold down the Alt(Opt) key when you click on an empty spot of the Swatches palette, and then name the color.

    But then again, the trick here is to glom sample colors you like in one fell swoop, so these steps are legit and worth knowing.


    1. Choose Image, Mode, Indexed Color. Accept the Exact setting in the dialog box, and click on OK. You might notice that the exact number of colors Photoshop reports can be anywhere from 16 to 24 or so. This technique is inexact, so the colors you wind up with depend on the color profile you have set for Photoshop. But you've still sampled a bunch of colors you like, and now it's time to save them.

    2. Choose Image, Mode, Color Table, and then click the Save button to save the color table as getaway.act to your hard disk (remember which folder you save the file in). Click Save.

    3. To load the color table, click on the menu flyout on the Swatches palette (press F6), and then choose Replace Colors. Then navigate to the getaway.act file; make sure the Files of Type at the bottom of the dialog box is set to Color Table (*.ACT), or you won't be able to see your file. Click on the getaway.act file, and click Load.

    4. Press Ctrl(Command)+S; keep the file open.

    You might ask yourself, "Terrific, Gare, but now what can I do with this color table?" Glad you asked. You can now posterize a grayscale image and then apply the colors you glommed in step 5 in this exercise.

    This chapter is from Inside Photoshop CS, by Gary Bouton (Sams, 2004, ISBN: 0672326442). Check it out at your favorite bookstore today.

    Buy this book now.

    More Photoshop Articles
    More By Sams Publishing


     

    PHOTOSHOP ARTICLES

    - The Critically Important Color and Gamma Cal...
    - Using Adobe Photoshop CS, Part 2
    - Using Adobe Photoshop CS, Part 1
    - 20 Things About Photoshop You Have to Know
    - Photoshop Tricks, Part 2
    - Photoshop Tricks, Part 1
    - Keeping Up Appearances: Techniques for Retou...
    - Navigation Menus in Photoshop
    - Slicing and Saving Graphics in Photoshop for...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway