home *** CD-ROM | disk | FTP | other *** search
- Contents
- --------
- gif2spr
- Installation
- Command line Usage
- Usage with Webster
- Notes
- Contacting me
-
- gif2spr
- -------
- A simple program to convert gif87a and gif89a graphic formats to Acorn
- Sprite format. transparency masks are supported with both input and output.
- Interlaced images have been catered for since the 2nd release. This is the
- 3rd release.
-
- I cannot be held responsible for an damage as a result of use or missuse of
- this program.
-
- Installation
- ------------
- ensure that gif2spr is in a directory pointed to by Run$Path
- my copy is saved in the library directory of my harddisc and my
- Run$Path looks like this. If you are only going to use it with
- Webster read the notes under the heading 'Usage with Webster'
-
- show Run$Path
- Run$Path(Macro) : ,%.,Boot:Library.,ADFS::HardDisc4.$.Library.
-
- Command line Usage
- ------------------
- for now all you can enter a gif as the first file argument and
- the pathname of the sprite file as the second file argument.
-
- gif2spr <-q> <-v> RAM:$.in RAM:$.out
-
- There are now two options that can be used.
- -q stops gif2spr generating error messages when things go wrong
- -v generates verbose output.
-
- Usage with Webster
- ------------------
- To use gif2spr with webster instead of ChangeFSI load the messages file into
- a text editor and change the line (currently the first in the file) that
- looks like:
-
- GIFVIEWER:<ChangeFSI$Dir>.ChangeFSI %0 %1 %2 -nomode
-
- to:
-
- GIFVIEWER:gif2spr -q %0 %1
-
- If gif2spr has not been placed in a directory pointed to by Run$Path then
- you will need the full pathname of the program or if you are only going to
- use it with Webster you could copy gif2spr into the webster directory and
- set GIFVIEWER to:
-
- GIFVIEWER:<Webster$Dir>.gif2spr -q %0 %1
-
- Notes
- -----
- Only sprites with square pixel aspect ratios are generated.
-
- This program appears to be at least twice as fast as ChangeFSI even
- though ChangeFSI has hand coded LZW decompression. This made me very
- happy when I tested it.
-
- I've tested the program on 1,2,4,6,7,8 bits per pixel all the routines
- have been tested since 3bpp uses the 4bpp routines and 5,6,7bpp uses 8bpp
- I've only tested the transparency on 8bpp gifs, but the masking code is
- almost identical to the pixel code so should not cause any problems. I
- did check that part of the code for typos. The images I have were not
- suitable for creating transparency masks as they were scanned in and
- did not have large areas of single colour.
-
- The code to deal with interlaced gif's has been re-coded since the last
- release and is more likely to work correctly. Previously some images
- had a few lines in the wrong place making the image look quite odd.
-
- The -q and -v options should be seperate and not of the form -qv but this
- would not make much sense anyway. This may change in the future as more
- options need to be added.
-
- Thanks to:
- Andrew Pullan
- Doug Winter
- Ben Schofield
- Philip Banks.
-
- Contacting me
- -------------
- This is the third distribution and was made on Friday 13th of January 1995
-
- Simon Truss
- simon@bigblue.demon.co.uk
- u1smt@csc.liv.ac.uk
-
- 11 Fairfield Crescent
- Fairfield
- Liverpool
- L6 8PH
-