# Help

## Contents

- 1. Select a new color
- 2. Color pixels
- 3. Access colors already in the icon
- 4. Change color on all pixels with a certain color
- 5. Save icon to file
- 6. Load in a GIF-file to Icon Edit (16x16)
- 7. Load in cdata and colormap from MATLAB workspace

## 1. Select a new color

There are three ways of selecting a new color. You can type in the RGB combination in the edit box, you can use the three slider bars to choose the color or you can simply click on the color square an get the access the uisetcolor function.

## 2. Color pixels

Color the pixels with the selected color by pushing the toggle buttons in the 16 by 16 icon matrix. To change the color on an already pushed button simply raise the button, choose a new color and push the button again. Raised buttons will be transparent in the final icon.

## 3. Access colors already in the icon

You can access colors already used in the icon, by clicking the button marked 'Toggle Colors'. This will toggle and select the colors in the icon matrix above.

## 4. Change color on all pixels with a certain color

You can change color for all pixels/buttons with a certain color. First choose the color you want to change to either by following step 1 or step 3. Then click the button marked 'Change Color'. After that the color index for each pixel will be displayed and you choose from a dialog box which of these indexes you want to apply the new color on.

## 5. Save icon to file

You save an icon to file by pressing the button marked 'Save'. The file format will be GIF and the raised buttons will be transparent pixels. By pressing save you also export the cdata and colormap to the MATLAB workspace as the variables 'im' and 'map'.

## 6. Load in a GIF-file to Icon Edit (16x16)

You can load in a 16 by 16 GIF file to the program. From the File menu choose 'Load GIF-file'. An input dialog box will ask you if you want to make one of the colors transparent. If so enter the color index you want to make transparent, otherwise press cancel.

## 7. Load in cdata and colormap from MATLAB workspace

To load in cdata and colormap to the program from the MATLAB workspace choose 'Load Cdata and Colormap from WS' the File menu. Enter the variable names of the cdata and colormap and enter a transparent color index if you want one of the colors to be transparent.