Get proportion of each pixel from the palette?
xseignard opened this issue · comments
Xavier Seignard commented
Hello,
I've got one more question, is it possible to directly get the number of each pixels mapped to the reduced palette?
Or do we need to do another pass with .map(pixel) on each pixels? It feels we will encounter a performance drop since we will parse the image twice, no?
Regards,
Xavier
Olivier Lesnicki commented
I'm afraid you'll need to do another pass