Icon
Design
Icons are used throughout the Windows interface to
represent objects or tasks. The system uses icons to represent your software's
objects, so it is important to design effective icons that communicate their
purpose.
Icon
Style
Use a common design style across all icons. Repeat common
characteristics, but avoid repeating unrelated elements.
An illustrative style tends to communicate metaphorical
concepts more effectively than abstract symbols. However, if you design an image
based on a real-world object, use only the amount of detail necessary for user
recognition and recall. Where possible and appropriate, use perspective and
dimension (lighting and shadow) to better communicate the real-world
representation, as shown in Figure 14.35.
![]()
Figure 14.35 Graphic improved with perspective and dimension
User recognition and recollection are two important factors
to consider in icon design. Recognition means that the user can identify the
icon and easily associate it with a particular object. Support user recognition
by using effective metaphors. Use real-world objects to represent abstract ideas
so that the user can draw from previous learning and experiences. Exploit the
user's knowledge of the world and allude to the familiar.
To facilitate recollection, design your icons to be simple
and distinct. Apply the icon consistently to build recognition; therefore,
design your small icons to be as similar as possible to their larger
counterparts. Try to preserve their general shape and any distinctive detail.
Icons that are 48 x 48 pixels can be rendered in 256 colors to create very
realistic-looking icons, but focus on simplicity and a careful use of color. If
your software is targeted for computers that can display only 256 colors, make
sure you only use colors from the system's standard 256-color palette. If your
software is targeted for computers configured for 65,000 or more colors, you can
use any combination of colors.
Avoid using people, stereotypes, faces, gender, or body
parts as icons. This is particularly important for an international audience, as
such images may not easily translate or could be offensive. When you must
represent people or users, depict them as generically as possible; avoid
realistic depictions.
Consider how overlay images — such as a shortcut icon, an
offline icon, or other visual annotations — might affect the appearance of
icons, as shown in Figure 14.36. Make sure they don't cover up the most
important parts of your images.
![]()
Figure 14.36 Icon overlays and annotations
One solution to avoid covering critical information is to
flip your icon image horizontally. If you do, remember to adjust the light
source.
Reuse established concepts where possible. For example, if
there are existing images for illustrating objects such as documents, you may
want to extend that idea, including other details to help differentiate the
image for your specific use. However, check on copyright usage before explicitly
duplicating any images.
Draw your ideas by using an icon-editing utility or pixel
(bitmap) drawing package. Drawing icons directly on the screen provides you with
immediate feedback about their appearance. It is a good idea to begin the design
in black and white. Consider color as a property enhancement. Test your images
on different backgrounds, because they may not always be visible against white
or gray backgrounds.
Icon
Usage
Icons are primarily intended to represent objects with
which users can interact. Therefore, be careful in the use of icons and follow
these guidelines:
·
Use an icon as the representation of an object — for example, a
folder icon in a folder's properties window.
·
Use an icon to reinforce important information — for example, a
warning icon in a message dialog box.
·
Use an icon to provide visual anchors to help users quickly
navigate through a task.
Avoid using icons in lower level dialog boxes, as this
creates visual clutter.
![]()
Figure 1. Icon samples
There are four sizes of Windows icons—48 × 48, 32 × 32, 24 × 24, and 16 × 16 pixels.
We recommend that your icon contains these three sizes:
![]()
Figure 2. General icon sizes
Icons on the right side of the Start menu are displayed at the 24 × 24 pixels size. This is not a size that you need to provide.
![]()
Figure 3. The 24 × 24 size in the Start menu
If you are creating icons for a toolbar, the Windows standard sizes are 24 × 24 and 16 × 16 pixels.
![]()
Figure 4. The standard toolbar icon sizes
Windows XP supports 32-bit icons, which are 24-bit images with an 8-bit alpha channel. This allows icons to display with smooth edges that appear to blend into any background.
Each Windows XP icon should contain these three color depths to support different monitor display settings:
![]()
Figure 5. 32-bit, 8-bit, and 4-bit versions of the My Pictures icon
These are the primary colors that are used in our icons:
![]()
Figure 6. Windows XP icon color palette
This is the perspective grid that Windows XP style icons use:
![]()
Figure 7. Windows XP icon perspective
Not all objects work well at 16 × 16 at an angle. The following objects are usually shown in a straight-on manner:
![]()
Figure 8. Straight-on icon examples (.Jpg Document, Search, and Favorites icons)
Create overlapping secondary objects at an angle unless it makes more sense, due to readability and integrity, that they are rendered straight on. Consider also how your icons may be viewed as a set to help determine how to group objects.
![]()
Figure 9. Overlapping examples (Add or Remove Programs, Print Pictures, Recent Documents)
Windows XP icons use a drop shadow to provide definition and added dimension. This effect is added in Photoshop and is described later in these guidelines.
To add the drop shadow to your images, double-click on the image's layer in Photoshop and select Drop Shadow. Then change Angle to 135, Distance to 2, and Size to 2. The drop shadow is black at 75% opacity.
![]()
Figure 10. Before and after a drop-shadow is added to an icon
When illustrating XP-style icons, add an outline to the image to provide definition and ensure that the image works well on different background colors.
When designing new icons, we recommend grabbing pen and paper and sketching your ideas out.
Here's an example of an initial sketch for the Windows XP My Pictures icon:
![]()
Figure 11. Sketch of My Pictures icon
Considerations when designing icons:
Note Use the following guidelines on the use of the Windows flag in icons:
![]()
Figure 12. Common icons for Windows XP
![]()
Figure 13. Common toolbar icons for Windows XP
To illustrate Microsoft Windows XP style icons, we recommend using a vector tool such as Macromedia FreeHand or Adobe Illustrator.
![]()
Figure 14. Paste dialog
Note Photoshop is the recommended image creation tool because Gif Movie Gear, the tool we use to create the .ico files, offers a direct import of Photoshop files. Any image created in Photoshop that uses the "RGB" mode has an alpha channel attached. If there is transparency in the image or layer, that channel becomes meaningful for icon purposes.
After pasting your vector files into Photoshop, the next step is to finalize the 24-bit images.
![]()
Figure 15. Setting your drop-shadow
![]()
Figure 16. Merging layers to keep the drop-shadow
Now that you have the 24-bit images ready to be made into 32-bit icons, you need to create 8-bit versions. The 8-bit icons will be displayed in any color mode lower than 32-bit.
The 8-bit versions will not have the 8-bit alpha channel so they will need to have their edges cleaned up as there's no antialiasing (that is, their edges will be jagged).
![]()
Figure 17. Cleaning up your images for 8-bit color depth
If you want your icons to look good down-level, provide 16-color versions of your icon.
![]()
Figure 18. Example of 4-bit icons
Once you have all your images, it's time to compile them into an .ico file. To create 32-bit icons, we use a tool called Gif Movie Gear (GMG). To get this tool, go to the Gamani Web site.
These steps will walk you through the process of creating a typical .ico file, which has three sizes and three color depths.
48 × 48 at 24-bit
32 × 32 at 24-bit
16 × 16 at 24-bit
48 × 48 at 8-bit
32 × 32 at 8-bit
16 × 16 at 8-bit
48 × 48 at 4-bit
32 × 32 at 4-bit
16 × 16 at 4-bit
![]()
Figure 19. Settings for 24-bit images in Gif Movie Gear
Check that the settings are:
![]()
Figure 20. Order of frames in Gif Movie Gear
Note To check your images' attributes, move your mouse over the images. You will notice a tooltip box containing resolution information about each image. The default setting shows dimensions, transparency, and bit count. You can add or remove the items shown by going to Edit->Preferences->Frame Tips.
![]()
Figure 21. Using the Transparency tool
The Windows toolbar icons follow the same style as other icons except they do not use a drop shadow. Because toolbar icons are fairly small, we recommend keeping the images simple. It is acceptable to have the images be straight-on rather than using the angle if it helps the readability of the image.
The Windows toolbar displays two sizes of icons: 24 × 24 and 16 × 16 pixels. There are two states—default and hot (mouseover). For the hot state, we slightly increase the saturation of the images.
The creation of toolbar icons is very similar to non-toolbar icons except the images are put into .bmp strips—basically, an ordered row of icons.
![]()
Figure 22. Sample of boxes for toolbar icons
![]()
Figure 23. Placing icons in toolbar frames
![]()
Figure 24. Changing the levels to create "hot" appearance
![]()
Figure 25. A 24-bit toolbar strip in Photoshop
Microsoft Windows XP uses 8-bit AVIs. The process for creating .avi files is the same as icons—you prepare the pieces in Photoshop then drag them into GMG. Follow the instructions for creating 8-bit icon versions.
To save your AVIs using GMG, go to File->Export As->AVI file….
Considerations when creating .avi files: