Using Icon Editor
Icon Editor is a tool for creating both bitmap and pixmap image files for use as icons or backdrops.
Introducing Icon Editor
Icon Editor enables you to create and edit images in two formats, described in Table 15-1.
Table 15-1 Icon Formats
Format | Description | File Name |
---|---|---|
X pixmap (XPM) | Multicolor images that include static and dynamic colors | *.pm |
X bitmap (XBM) | Two-color images limited to a foreground and background color (used for black and white icons) | *.bm |
Figure 15-1 Icon Editor main window
You create images by selecting drawing tools and colors, and using them in the work area. As you draw, Icon Editor displays an actual-size copy of your icon in both formats. You need to consider the two-color version of the icon even if you are drawing an image for use on color systems, because icons may revert to two colors if there are not enough free colors available on the workspace.
For information on designing icons, read the Visual Design chapter in Common Desktop Environment: Style Guide and Certification Checklist.
Startup
To start Icon Editor:
You can also start Icon Editor and have it load an icon into the work area in one of the following ways:
In a File Manager view, locate the icon file and double-click it to open it. (The default action for pixmap and bitmap files runs Icon Editor and loads the file.)
Note - If the path /usr/dt/bin has not been set in your .cshrc file, then type /usr/dt/bin/dticon to run Icon Editor from the command line.
Basic Drawing Tasks
This section describes how to create and edit an icon and how to use the Icon Editor drawing tools.
To Open an Existing Icon
Choose Open from the File menu.
If you have unsaved changes, Icon Editor warns you that your changes will be lost by loading another icon. Click Cancel to cancel the Open command. Click OK if you don't want to save your changes.
Type the name of the file you want to load in the Enter file name field, or select the icon file you want to load from the Files section of the Open File dialog box.
Click Save.
Note - When you load a file, the Output Format (in the Options menu) is automatically set to the format of the file you load.
You can also open an existing icon by double-clicking the icon file in File Manager.
To Start a New Icon
If you have unsaved changes, Icon Editor warns you that your changes will be lost by starting a new icon. Click Cancel to cancel the New command or click OK if you don't want to save your changes.
Icon Editor clears the work area and resizes it to the default size (32x32).
If you have an icon already loaded, you can choose Clear Icon from the Edit menu to start a new icon with the same size and name as the previously loaded icon.
To Clear an Icon
To Draw an Image
Select one of the drawing tools (listed in Table 15-2).
Select a color (static color, static gray, or a dynamic color).
Begin drawing with the tool you've selected.
More details on drawing with each tool are provided below.
Drawing Tools
The drawing tools area of Icon Editor is shown in Figure 15-2.
Figure 15-2 Icon Editor drawing tools
Table 15-2 Using the Drawing Tools