home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Anwendungen / Kurztests / PBM / HPCDTOPPM_0_6.LHA / hpcdtoppm.0.6 / doc / Examples < prev    next >
Text File  |  1994-10-04  |  2KB  |  53 lines

  1. This are some examples of the use of hpcdtoppm, insert one
  2. of your images where a filename as img0010.pcd is used.
  3.  
  4. "postscriptprinter" means something on your machine, what
  5. prints postscript output on paper.
  6.  
  7. "xv" is a program for viewing images on X11.
  8.  
  9.  
  10.  
  11. hpcdtoppm img0005.pcd img0005.ppm
  12.  
  13.    converts the image img0005.pcd to the ppm-format with resolution
  14.    128x192. Output into the file img0005.ppm
  15.  
  16.  
  17. hpcdtoppm -3 -crop img0005.pcd | xv -
  18.  
  19.    removes a black frame (some images are scanned with a black frame) and
  20.    displays the image with resolution 512x768 on a X11-display (24-bit if possible).
  21.  
  22.  
  23. hpcdtoppm -l -5 -s -pgm img0005.pcd img0005.pgm
  24.  
  25.    turns the images counter-clockwise to portrait, converts to 
  26.    the 2048x3072 resolution, applies a sharpness-operator and writes
  27.    it as 8-Bit-grayscale pgm to the file img0005.pgm.
  28.  
  29.  
  30. hpcdtoppm -l -5 -c+ -psd img0005.pcd img0005.ps
  31.  
  32.    corrects the images brighter and converts to a 2048x3072 dithered
  33.    postscript image. Fits on a sheet of paper if used on a 300dpi printer.
  34.  
  35. hpcdtoppm -s -S 1300-1850 1000-1260 -5 img0010.pcd | xv -8 -
  36.  
  37.    displays a small subrectangle of the high resolution an your x11 screen.
  38.  
  39. hpcdtoppm -c+ -l -s -S 1300-1850 1000-1260 -5 -psd -pw 500 -dpi 300 img0010.pcd | postscriptprinter
  40.  
  41.    prints out a dithered small subrectangle of your image.
  42.  
  43.  
  44. hpcdtoppm  -c+ -C 6 l -psd -dpi 300 -pw 500 overview.pcd |postscriptprinter
  45.  
  46.    prints an index print; play with the number 6.
  47.  
  48.  
  49. hpcdtoppm -c+ -C 4 n -psd -dpi 300 -pw 500 overview.pcd |postscriptprinter
  50.  
  51.    something similar
  52.  
  53.