| rashead | stsdas.sobsolete | rashead |
rashead -- Show a rasterfile image header.
rashead rasfile
Print the header of a Sun rasterfile format image. The header stores information about the image: size, format and depth.
If the rasterfile contains a colormap, it may be read and listed.
Additional explanatory text may be written to STDOUT if desired. The verbosity parameter specifies which information is written.
This task should be fully portable. It does not depend on Sun libraries.
verbosity text --------- ---- 1 Image and file size, depth, raster type, color map type and size 2 Add image name 3 Add colormap values
1. Print the header of the rasterfile sun.ras:
pl> rashead sun.ras
which would result in the following:
640 x 440 File size: 278283 Depth: 8 bits/pixel Gray/Mapped Raster type: 2 Byte-Encoded Color map: type 1 Equal RGB, size 768
Rasterfile format is described in the rasterfile(5) Unix man page and in Chapter 6 of the Sun Pixrect Reference Manual.