mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Minor changes.
This commit is contained in:
parent
2fc722a30b
commit
ec2ae4c261
10
README.html
10
README.html
@ -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 © 2001-2012 David Capello</div>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user