     __            _            
  /\ \ \___  _ __ | |_ ___  ___ 
 /  \/ / _ \| '_ \| __/ _ \/ __|
/ /\  / (_) | |_) | ||  __/ (__ 
\_\ \/ \___/| .__/ \__\___|\___|
            |_|                     Version 1.4
____    ____  _______   ______ .___________.  ______   .______      
\   \  /   / |   ____| /      ||           | /  __  \  |   _  \     
 \   \/   /  |  |__   |  ,----'`---|  |----`|  |  |  | |  |_)  |    
  \      /   |   __|  |  |         |  |     |  |  |  | |      /     
   \    /    |  |____ |  `----.    |  |     |  `--'  | |  |\  \----.
    \__/     |_______| \______|    |__|      \______/  | _| `._____|

Copyright (C) 2000 Erik Agsjo


* Introduction

 Vector is an implementation of a bitmap vectorizing algorithm, specifically
for creating background picture resources for the Sierra AGI interpreter.
The program reads an image in BMP, PCX or TGA format, converts it to
160 x 168 x 16 colors and writes the result in AGI readable format,
optionally showing the result onscreen.


* Vectorizing an image

 Even if the input image is resized and converted to the 16 EGA colors used
by the AGI interpreter, it is best to start with a rather simple image. This
helps to create picture resources that are small and more easily edited.
Dithered images and images with many small dots give poor results. 


* Command line parameters

 VECTOR.EXE [options] <input> <output>

 input:		the input file  (BMP, PCX, TGA)
 output:	the output file (AGI picture resource)

 Options:

 -p <prio>  uses the given file as the priority map
 -v         enables the onscreen view of the generated image
 -w         makes the program wait after each screen shape has been drawn


* Known issues

 Some resources generated are too big to be useful.


* Legal

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.


* Credits

 DJGPP			(www.delorie.com)
 Allegro		(http://www.talula.demon.co.uk/allegro/)
 "AGI PICTURE FORMAT"	Lance Ewing (be@ihug.co.nz)


* Author

 Erik Agsjo, erik.agsjo@noptec.com
 http://www.noptec.com


* Version info

1.4:
Minor source cleanup.
Changed to GPL license.

1.3:
Fixed white shape optimization bug on priority screens.

1.2:
Added priority screen handling.

1.1:
First released version.