pix-ppm — convert a BRL-CAD PIX or BW format image to a PPM format image
pix-ppm [-a ] [-s
pix-ppm converts a BRL PIX(5) format file to a PPM (Portable PixMap) format file on the standard output. The PPM file created will be either an RGB file with 3 bytes per pixel (default) or a B&W file with 1 byte per pixel.
PIX image files do not contain information about their size. The size of the input PIX image file must be specified if the dimensions are not the default 512x512 size.
autosize the input file to determine file image height and width
sets both the width and the height for the input to be squaresize
tells pix-ppm that the input is file_width pixels wide
tells pix-ppm that the input is file_height scanlines tall
tells pix-ppm how many bytes there are per pixel in the input PIX or BW file
tells pix-ppm to write image data to the specified PPM_file output file. The pix-ppm command will not write out binary image data directly to a terminal device as a safeguard.
This software is Copyright (c) 2009-2016 by the United States Government as represented by U.S. Army Research Laboratory.