QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
Namespaces | Typedefs | Functions
qgsmediancut.cpp File Reference
#include "qgsmediancut.h"
#include <QList>
#include <QMultiMap>
#include <QHash>
Include dependency graph for qgsmediancut.cpp:

Go to the source code of this file.

Namespaces

namespace  QgsWms
 Median cut implementation.
 

Typedefs

typedef QList< QPair< QRgb, int > > QgsWms::QgsColorBox
 
typedef QMultiMap< int, QgsColorBoxQgsWms::QgsColorBoxMap
 

Functions

void QgsWms::medianCut (QVector< QRgb > &colorTable, int nColors, const QImage &inputImage)
 Median cut implementation used when reducing RGB colors to palletized colors. More...