home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 580b.lha / jpegScripts / scripts.doc < prev    next >
Text File  |  1991-10-25  |  1KB  |  48 lines

  1. IFF2JP
  2. JP2IFF
  3. ------
  4.  
  5. These are regular AmigaDOS scripts go along with the AUGJPEG batch.  They
  6. should be in your "s:" directory with a path set to them and 1.3/2.0
  7. protection bit of +s added to them already.  (ex. protect file +s)
  8.  
  9. These scripts uses your ram: disk to make the tmp.ppm file.  You
  10. can go edit the scripts to change it to your HD or something else.
  11.  
  12. Script command usage:
  13.  
  14. IFF2JP <infile> <opt>
  15.     
  16.        <infile>: is the IFF24 input file
  17.                  the output file is <infile>.jpg
  18.        <opt>: are the CJPEG command options, I always use the -Q ## option
  19.               to set the compression quality.
  20. example:
  21.  
  22.   IFF2JP awesomepic.iff24 -Q 88
  23.  
  24.   - I'm using -Q88 which gives out a pretty good quality image.
  25.   - the final OUTPUT file is awesomepic.iff24.jpg; you can modify
  26.     the script to list the output file to show how small it turned
  27.     out.
  28.  
  29.  
  30. JP2IFF <infile> <outfile> <opt>
  31.  
  32.        <infile>:  is the .jpg file (use full name)
  33.        <outfile>: is the iff24 file to output
  34.        <opt>:     are the command options to DJPEG
  35.  
  36. example:
  37.  
  38.   JP2IFF awesomepic.iff24.jpg awesomepic.iff24
  39.  
  40.   - pretty self explanatory there.  I haven't found any use
  41.     for the DJPEG options (maybe color quantization for the
  42.     lowly GIF people).
  43.  
  44.  
  45.  
  46. -JC-
  47.  jcheng@mars.calstatela.edu
  48.