~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/trace/quantize.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Quantization for Inkscape
 
3
 *
 
4
 * Authors:
 
5
 *   Stéphane Gimenez <dev@gim.name>
 
6
 *
 
7
 * Copyright (C) 2006 Authors
 
8
 *
 
9
 * Released under GNU GPL, read the file 'COPYING' for more information
 
10
 */
 
11
 
 
12
#ifndef __QUANTIZE_H__
 
13
#define __QUANTIZE_H__
 
14
 
 
15
#include "imagemap.h"
 
16
 
 
17
/**
 
18
 * Quantize an RGB image to a reduced number of colors.
 
19
 */
 
20
IndexedMap *rgbMapQuantize(RgbMap *rgbmap, int nrColors);
 
21
 
 
22
#endif /* __QUANTIZE_H__ */