home *** CD-ROM | disk | FTP | other *** search
- Program: Wasp 1.26
- Copyright Steven Reiz 1991, 1992, see the COPYING file for more info.
- Purpose: Converts pictures from GIF and IFF format to IFF format.
- Usage: wasp [options] [operations] [parameters] infile|- [outfile|-]
-
- Input formats supported:
- - GIF (87a)
- - IFF hires, lores, HAM, EHB, sliced hires, lores, and HAM, dynamic hires,
- lores and HAM, 24-bits IFF.
- - SRGR, a private format, basically uncompressed 12-bits RGB.
- - Sun rasterfile, monochrome only
- - PPM, P5 (binary 8-bits greyscale) and P6 (binary 24-bits RGB) only.
- - HL2, the temporary file format produced by the Hamlab input filters
-
- Output formats supported:
- - IFF hires, lores, HAM, EHB, sliced hires, lores, and HAM, dynamic hires,
- lores and HAM, 24-bits IFF.
- - SRGR
- - PPM, P6 (binary 24-bits RGB) only.
-
- Main features:
- - SPEED! This program has been developed on an unaccelerated A500, on which
- all of the other GIF -> IFF conversion programs ran way too slow.
- Wasp is three times faster than supercon, seven times faster than
- gifmachine, and even faster than TAD, a commercial program!
- - Good output quality, generally better than TAD, and much better than most
- other programs.
- - Many IFF output formats are supported, including HAM, sliced HAM, dynamic
- HAM and dynamic hires.
-
- Operation
-
- Wasp reads the input file and tries to recognize it. If this succeeds
- it prints some information about the format of the file and the size
- of the picture. If the outfile argument was omitted, wasp stops here.
- Otherwise it reads the input file, and converts it to the internal
- format; 12-bits RGB. It optionally applies operations such as clipping
- and scaling to the internal picture, and then converts it to the requested
- output format.
-
- Reading from stdin/writing to stdout
-
- Wasp will try to read the input image from stdin and/or write the
- output image to stdout if you specify the filename(s) as '-'.
- This only works for images that don't have to be seeked, meaning
- nearly all inputfiles, and lots of outputfiles. Some image types
- which can always be read from stdin and written to stdout are ppm
- and srgr. Problems can occur when reading iff files without a camg
- chunk, or when writing iff files.
-
- Using the Hamlab input filters with Wasp
-
- Hamlab and the demo version of hamlab come with a number of input
- filters, readers for the gif, mtv, pnm, qrt, ras, spec and tiff
- formats. Some examples of using these filters with Wasp:
-
- When using the SKsh shell, which supports pipes:
- ( qrt2hl <somepic.qrt ) | wasp -sliced -lace -ham - somepic.sham
-
- Using the AmigaDOS shell:
- tiff2hl <foobar.tiff >foobar.hl
- wasp -dyn -hires -enlarge 640 200 foobar.hl foobar.dynhi
-
- Comments
-
- Comments, suggestions, bug reports, and dollar bills (uuencoded, of course)
- can be sent to sreiz@cs.vu.nl, I would appreciate some feedback, let me
- know what you think about wasp!
-
- Options
-
- If wasp is invoked without options it prints an extensive list of all
- the options it understands. When in doubt: Use the Force, Read the Source.
-
- Example
-
- ``wasp -sliced l.gif l.sham'' converts the GIF file l.gif to sliced HAM.
-
- Have fun!
-
- Steven
-