summaryrefslogtreecommitdiffstats
path: root/src/trace/quantize.h
blob: 43942f5155398cd4ad845c30f82d50d85302eb5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Quantization for Inkscape
 *
 * Authors:
 *   Stéphane Gimenez <dev@gim.name>
 *
 * Copyright (C) 2006 Authors
 *
 * Released under GNU GPL v2+, 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__ */