Minor changes.

This commit is contained in:
David Capello 2012-03-23 11:44:10 -03:00
parent 2fc722a30b
commit ec2ae4c261
3 changed files with 8 additions and 11 deletions

View File

@ -196,6 +196,11 @@ data/widgets/*.xml XML files with dialogs</pre>
| <a href="http://alleg.sourceforge.net/">homepage</a>
| <a href="docs/licenses/allegro4-LICENSE.txt">license</a>
</div>
<div class="library">
AllegroFont
| <a href="http://chernsha.sitesled.com/">homepage</a>
| <a href="docs/licenses/FTL.txt">license</a>
</div>
<div class="library">
curl
| <a href="http://curl.haxx.se/">homepage</a>
@ -271,11 +276,6 @@ Other parts of code by:
Code to quantize RGB images with ordered dither method.
</div>
<div class="author">Javier Gonzalez</div>
<div class="details">
AllegroFont wrapper.
</div>
<div id="footer">Copyright &copy; 2001-2012 David Capello</div>
</div>
</body>

View File

@ -1,4 +1,3 @@
/*
* Written 1998 Jens Ch. Restemeier <jchrr@hrz.uni-bielefeld.de>
*
@ -18,9 +17,7 @@
*
*/
/* Modified by David Capello to use with ASEPRITE (2001-2012).
See ../README.txt for more information
*/
/* Modified by David Capello to use with ASEPRITE (2001-2012). */
#include <stdio.h>
#include <stdlib.h>

View File

@ -249,8 +249,8 @@ namespace quantization {
int volume;
}; // end of class Box
// Median Cut Alqorithm as described in P. Heckbert, “Color image
// quantization for frame buffer display,, Computer Graphics,
// Median Cut Algorithm as described in P. Heckbert, "Color image
// quantization for frame buffer display,", Computer Graphics,
// 16(3), pp. 297-307 (1982)
template<class Histogram>
void median_cut(const Histogram& histogram, size_t maxBoxes, std::vector<uint32_t>& result)