Quantizator v0.85 by Jakub 'Ilmenit' Debski / 01.2010

Usage:
Quantizator.exe InputFile [options]

/i=InputFile
  File to process. A lot of GFX formats are supported, including JPG, PNG, GIF and BMP.
  The image is rescaled to defined width and height.

/w=OutputWidth
  Generated file width.  Default: 160 (40 bytes in G2F)

/h=OutputHeight
  Generated file height.  Default: 240

/mode=ProcessingModes:
  simple - basic color quantization
  local - maximizing local similarity. Slow, because all the color combinations are checked.
  dither - linear dithering
  rdither - randomized linear dithering

/dval=DitheringValue
  0.0 to 1.0 - strength of dithering and rdithering. 0.5 is default.

/palette=PaletteFile
  Processing quality depends a lot on similarity between chosen Atari palette and image palette.
  The default is Palettes\laoo.act, which covers a large color range and is close to Atari palette.

/o=OutputFile
  Output file name. With this name output files COL, MIC and XEX will be generated.

To load file into Graph2Font first load MIC file, then COL.
The screen size in bytes must be set before loading!

Example:
Quantizator.exe test.jpg /h=192 /mode=rdither /dval=0.2 /palette=palettes\g2f.act /o=dithered.bmp

