BrainDump
  Home arrow BrainDump arrow Page 2 - Changing the Windows XP Start Button Icon
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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? 
BRAINDUMP

Changing the Windows XP Start Button Icon
By: Nilpo/Developer Shed Staff Writer
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 11
    2007-04-10

    Table of Contents:
  • Changing the Windows XP Start Button Icon
  • Editing the bitmap.
  • Replacing the graphic.
  • Wrapping things up.

  • 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


    Changing the Windows XP Start Button Icon - Editing the bitmap.


    (Page 2 of 4 )

    Go ahead and close Resource Hacker for now.  We’re done with it until we have our custom graphic.  Open up Photoshop, load your newly saved bitmap, and let’s get started customizing it.

    If you’re like me and not a graphic designer, take the easy way out.  Find an icon that you would like to use and size it to fit in a 25x20 graphic.  Then we’ll just copy and paste it in when we’re ready.

    With the original start button graphic loaded, set the zoom to 1000%.  This should make it large enough to see individual pixels easily.  Use whatever method you like to fill the entire image with black (0,0,0) pixels.  I just used the pencil tool to make sure that there were no lighter pixels anywhere.

    Any pixel that you want to be transparent later will need to be pure black.  Any other color will cause partial transparency at best.

    Now go to your other image and select whatever you would like to appear in your start button.  Use the Copy command in the Edit menu.  Return to the start button image and paste it in.

    It should have pasted into a new layer.  You can move it around if need be.  Once you have it in place grab the eraser tool and clear any extra pixels that need to be cleaned up.  As you erase around your objects, you should see the black pixels underneath.  Once you have it the way you like it, press Ctrl + E to merge the two layers together.

    Try to use a 20x20 graphic placed all the way to the left of the image.  The right 5 pixels should remain black from the top to the bottom as they provide the padding between the start button graphic and the start button text.

    You should now have a flat image of your icon on a black background.  You’re almost done.  Here’s the part you’ve been waiting for. 

    I’ve seen this question asked hundreds of times across the Internet and never have I seen a correct response. “How do you add transparency to the start button graphic?”  Well, here’s how.

    In Photoshop, switch to the Channels palette.  If you’re editing the original, you’ll see a channel named Alpha 1.  If you’re creating your own, just click the Create new channel button and it will create it for you.

    Make sure that the Alpha 1 channel is selected.  While it’s selected, make the RGB channel visible as well.  You should see a reddish version of your image.  Grab the pencil tool and set your foreground color to black (0,0,0) again.

    Using the pencil tool on the Alpha 1 channel, color all of the pixels that you would like to appear transparent.  They should become pure red.  Then change the foreground color to white (255,255,255) and color all of the pixels that you would like to be opaque.

    Alpha channels are used to define transparency levels in an image. Rather than making individual transparent pixels based on a selected color, an Alpha channel works as a sort of mask. It's a grayscale layer applied to an image. Black areas are transparent and white are opaque. Levels of grey create partial transparency based on color depth.

    Now remove visibility on the RGB channel again so that you can only see the Alpha 1 channel.  All of your pixels should be either black (transparent pixels) or white (all other pixels).  You should not see any other colors here.  Transparency is based off of this Alpha channel.

    Now select the RGB channel and all visibilities should return to normal.  You should again see your image on a black background.  Now save your image as something like start_custom.bmp.  In Photoshop you will be asked what bitmap format you want to use.  Choose Windows 32-bit.

    Now that you have your new graphic, we’re all set to make the change.

    More BrainDump Articles
    More By Nilpo/Developer Shed Staff Writer


       · Part two of my "Hacking the Windows XP Start Button series". It's time to change...
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT