QGIS API Documentation  3.20.0-Odense (decaadbb31)
Namespaces | Functions
qgsmediancut.h File Reference
#include <QVector>
#include <QImage>
Include dependency graph for qgsmediancut.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 QgsWms
 Median cut implementation.
 

Functions

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