home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
580b.lha
/
jpegScripts
/
scripts.doc
< prev
next >
Wrap
Text File
|
1991-10-25
|
1KB
|
48 lines
IFF2JP
JP2IFF
------
These are regular AmigaDOS scripts go along with the AUGJPEG batch. They
should be in your "s:" directory with a path set to them and 1.3/2.0
protection bit of +s added to them already. (ex. protect file +s)
These scripts uses your ram: disk to make the tmp.ppm file. You
can go edit the scripts to change it to your HD or something else.
Script command usage:
IFF2JP <infile> <opt>
<infile>: is the IFF24 input file
the output file is <infile>.jpg
<opt>: are the CJPEG command options, I always use the -Q ## option
to set the compression quality.
example:
IFF2JP awesomepic.iff24 -Q 88
- I'm using -Q88 which gives out a pretty good quality image.
- the final OUTPUT file is awesomepic.iff24.jpg; you can modify
the script to list the output file to show how small it turned
out.
JP2IFF <infile> <outfile> <opt>
<infile>: is the .jpg file (use full name)
<outfile>: is the iff24 file to output
<opt>: are the command options to DJPEG
example:
JP2IFF awesomepic.iff24.jpg awesomepic.iff24
- pretty self explanatory there. I haven't found any use
for the DJPEG options (maybe color quantization for the
lowly GIF people).
-JC-
jcheng@mars.calstatela.edu