Last change
on this file was
80,
checked in by Sam Hocevar, 15 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
891 bytes
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef _MEDIAN_HPP_
|
---|
10 | #define _MEDIAN_HPP_
|
---|
11 |
|
---|
12 |
|
---|
13 | // median cut finds a good 256 palette to fit a 32 bit image
|
---|
14 | // this is returned as an array of 256 32bit words. This
|
---|
15 | // array should be freed using delete
|
---|
16 |
|
---|
17 | class i4_histogram_class;
|
---|
18 |
|
---|
19 | void i4_median_cut(i4_histogram_class *hist,
|
---|
20 | w32 skip_colors,
|
---|
21 | w32 t_colors,
|
---|
22 | w32 *return_palette);
|
---|
23 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.