Syntax: bggen [-h high] [-w wide] [-b bits] [-g geom] [-d disp] [-a] [-r rot] [-G rptgeom] color1 [ color2 ... colorN]
bggen generates background gradients for use with xv. It does not directly display anything itself. Instead, it generates an appropriately sized PPM file, which xv can display. It is also used by the xv's Pad command, for a similar purpose.
By default, bggen will generate a screen-sized PPM file with a vertical color gradient. The top of the image will be in color1, the bottom of the image will be in colorN, and intermediate positions will have an appropriate intermediate color. You can list as many colors as you'd like. If you only list one color, the entire image will be that single color.
Color specifications can be in one of three formats:
This is a little X program I wrote years ago to help me debug xv's color allocation code. It displays the contents of the default colormap as (typically) a 16x16 grid of colored rectangles. Run it, and then run something that allocates colors (such as xv), and you'll see the color cells changing color. It can give you an indication of how full your colortable is, and whatnot. It only works on displays where the default visual is a PseudoColor visual, but that's nearly all of them, so it shouldn't be a problem.
There are two standard X options: '-d display' to set the X display, and '-g geom', to set the default window size and position.
You can click in the window to examine the RGB values of various color cells. I have not found a useful purpose for this feature, but there must have been one at one time...
Type 'q' in the window to exit the program.
This program is a standard Unix filter that reads the 'thumbnail' files created by the visual schnauzer (from stdin ) and writes standard PPM versions of same (to stdout ). The thumbnail files are small (80x60 maximum) 8-bit versions of your image files and are used as the icons in the visual schnauzer. These files are stored in my own weird format (one optimized for my purposes), but many folks have asked for a way to turn them into standard image files, for use on their WWW pages, or whatever.
Anyway, assuming you've done an Update or Generate Icons command in the visual schnauzer, you'll find the thumbnail version of an image stored with the same name in the ' .xvpics ' subdirectory. For example, if you have a file ' /pics/gif/foobie.gif ', you would find the thumbnail version of it in the file ' /pics/gif/.xvpics/foobie.gif '.
These two programs are distributed as part of the Independent JPEG Group's software, located in the jpeg subdirectory of the xv source. They perform command-line conversion between JPEG and the PPM/PGM, GIF, BMP and Targa formats. Since xv has absolutely no command-line or 'batch' conversion abilities, you may find these useful if you want to convert a lot of images, or automatically convert images from a script. If this is the case, you should probably get Jef Poskanzer's most-excellent pbmplus package, which you can get via anonymous ftp on ftp.x.org and elsewhere..
Uncompresses compressed PDS and VICAR images. Beyond that, I know nothing.