I just want to colorize an image (get it all greenish or whatever color is set). I use code like this:
wb.ForEach((x, y, color) =>
{
HSVColor hsv = ColorHelper.RGBtoHSV(color);
hsv.H = baseColorHSV.H;
hsv.S = baseColorHSV.S;
return ColorHelper.HSVtoRGB(hsv);
});
But that's very slowwwww. Any faster way to do this?