home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / hdf / unix / examples.lha / examples / ris8 / README < prev    next >
Encoding:
Text File  |  1991-10-03  |  2.6 KB  |  71 lines

  1.  
  2.  
  3. This directory contains sample programs involving reading and writing
  4. 8-bit raster image sets.  Run "make" to compile the routines and copy
  5. the input test files from the "../files" directory.
  6.  
  7. If you have just installed HDF and want to do a quick test, run manyRIS.
  8.  
  9.  
  10.                              Test routines
  11.                              -------------
  12.  
  13. putim: Program for creating an image and storing it in an HDF file
  14.  
  15.   If "row order" is selected the image created, with it's palette,
  16.   should display as an increasingly dark gray scale going from top
  17.   to bottom, up to 256 rows, then repeating.  If "column order" is
  18.   chosen, this pattern will be transposed.
  19.  
  20.   User supplies filename, height, width, compression, and whether
  21.   to store image in row or column order
  22.  
  23. putimF: Program for creating an image and storing it in an HDF file
  24.  
  25.   If "row order" is selected the image created, with it's palette,
  26.   should display as an increasingly dark gray scale going from top
  27.   to bottom, up to 256 rows, then repeating.  If "column order" is
  28.   chosen, this pattern will be transposed.
  29.  
  30.   User supplies filename, height, width, compression, and whether
  31.   to store image in row or column order.
  32.  
  33. getputim: Program to illustrate use of DFR8getdims, DFR8getimage and 
  34.          DFR8addimage
  35.  
  36.    Files needed:  old.hdf (look in "files" directory)
  37.    Files created: new.hdf
  38.    The image that is moved from old.hdf to new.hdf contains the sectrum
  39.       of colors, moving from to to bottom, with ten vertical and ten
  40.       horizontal lines cross-hatched.
  41.  
  42. getputimF: Program to illustrate use of d8gdims, d8gimg and d8aimg
  43.  
  44.    Files needed:  old.hdf (look in "files" directory)
  45.    Files created: new.hdf
  46.    The image that is moved from old.hdf to new.hdf contains the sectrum
  47.       of colors, moving from to to bottom, with ten vertical and ten
  48.       horizontal lines cross-hatched.
  49.  
  50. manyRIS.c: Program to generate and write many images of many different 
  51.        sizes as RISs, then read them back and verify their correctness.
  52.       
  53.    User supplies number of images and file name.
  54.    NOTE: Currently does not test imcomp compression.
  55.  
  56.  
  57. t_bigbuf: Program to test d8gimg when buffers are larger than image
  58.  
  59.   Input file:  h200x150.hdf (in "files" directory)
  60.   Output file: new.hdf
  61.  
  62.  
  63. threeRIS: Illustrates reading three RISs from three files and 
  64.       outputting them to one file.  A palette is also read 
  65.       from a file and associated with all of the images.
  66.  
  67.   Input files:  storm110.hdf,storm120.hdf, storm130.hdf (in "files" directory)
  68.                 grey.pal (HDF file containing a palette)
  69.   Output file: 3storm.hdf
  70.  
  71.