Next: xftutorial Up: External Tools Previous: Help pages

# xfpixmap

Xfpixmap allows drawing pixmaps based upon the Xpm 3 format[#lehors93##1#]. To use the program, the wish that is used must contain the TkPixmap patch. This patch implements the pinfo command. The functionality of xfpixmap is restricted to a basic functionality, and the performance is not very good especially for big pictures (big == >40x40). This program is part of the XF distribution, and is used to manipulate pixmaps.

Figure: The xfpixmap program

To set a color, the left mouse button is clicked at the pixel cell. The middle mouse button is used to set the transparent (background) color, and the right mouse button is used to set the drawing color to the color of the pixel cell under the mouse pointer. The current drawing color can be selected by pressing at the color button in the color array.

To change the color value for a color in the palette, this color is made the active color. Then the button that contains the name of the current color right over the palette is pressed. The new color can now be selected in the color selection box. By pressing at the button that contains the current transparent color, a new transparent color is selected.

The size of the picture can be changed with the scales at the left side. When a new width, height and pixel cell size have been selected, the button (Set raster) is pressed. The array of nine arrows is used to manipulate the drawing space in various ways. The buttons (Fill) and (Clear) do what they are supposed to do.