windows - UWP image byte buffer RGBA to Xaml Control Image C++ -
i call upon great minds of fellow programmers answer question google not give me answer to.
i trying display raw image buffer rgba8 using xaml.controls.image. solutions found far in c# doesn't work c++ because used functions not available in c++. c# , c++ inconsistent.
i want use byte buffer because want manipulate image data pixel pixel.
int x = 0; int y = 0; int channelspresent = 0; const int chanreq = 4; // raw byte buffer storing rgba pixel data. char* bytebuffimage = (char*)stbi_load("assets\\storelogo.png", &x, &y, &channelspresent, chanreq); //what steps in between. // type:(image) this? resulttexture->source =
in c# seems easy:
thank you.
Comments
Post a Comment