Re: GIF encoding
kitkatrobins wrote:
...
...Do you know of any alternative Quantisation
implementations on this source code? My understanding of Quantisation
code isn't very strong. Or do you know of any links to gain a better
understanding of Quantisation?
The short answer is 'no'. I treated the FM library as though
it were a 'black box' and never even looked into the code itself
to any degree, guessing that the author knew more about it
than I ever would.
As an aside though. What format are your source images?*
The quantisation is meant to reduce the source imageS
colors to a single palette of 256. If the images are all the
*same* 256 colors to begin with, its work is done.
This might be easier (or at least, more control over final
size) if you were to reduce the colors in the original
images to the same 256 color palette prior to running
them through the encoder.
* GIF images are automatically 256 colors, but no two
will necessarily have the *same* 256 colors, OTOH,
grayscale images (for example) should be.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via http://www.javakb.com