diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-11-20 05:26:29 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-11-20 05:26:29 +0000 |
| commit | c61a6c1b8eeeaae18538ed82b9abed7c5f9066ff (patch) | |
| tree | 5be14d78a41f702211721f4dc7e388ba565abfa0 /src/trace/quantize.h | |
| parent | patch for Preview out of the tabs and other fixes (diff) | |
| download | inkscape-c61a6c1b8eeeaae18538ed82b9abed7c5f9066ff.tar.gz inkscape-c61a6c1b8eeeaae18538ed82b9abed7c5f9066ff.zip | |
patch 1598684: better trace quantization
(bzr r1994)
Diffstat (limited to 'src/trace/quantize.h')
| -rw-r--r-- | src/trace/quantize.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/trace/quantize.h b/src/trace/quantize.h new file mode 100644 index 000000000..fa4340877 --- /dev/null +++ b/src/trace/quantize.h @@ -0,0 +1,22 @@ +/* + * Quantization for Inkscape + * + * Authors: + * Stéphane Gimenez <dev@gim.name> + * + * Copyright (C) 2006 Authors + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#ifndef __QUANTIZE_H__ +#define __QUANTIZE_H__ + +#include "imagemap.h" + +/** + * Quantize an RGB image to a reduced number of colors. + */ +IndexedMap *rgbMapQuantize(RgbMap *rgbmap, int nrColors); + +#endif /* __QUANTIZE_H__ */ |
