QGIS API Documentation  3.14.0-Pi (9f7028fd23)
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

 QgsWms
 WMS 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...