QGIS API Documentation  3.21.0-Master (909859188c)
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.


 Median cut implementation.


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