ImageBuffer ib(image_width, image_height);
for (int y = 0; y < ib.GetHeight(); y++) { RGBA * dst = ib[y]; for (int x = 0; x < ib.GetWidth(); x++) { dst->b = conversion from source - blue; dst->g = conversion from source - green; dst->r = conversion from source - red; dst->a = 255; dst++; } }
Report message to a moderator