Closed aferust closed 5 years ago
I have realized that dlib has an image module already. So, it must be easy to implement.
You can already construct a texture from dlib Image, so just construct one, fill pixels with setPixel and pass Image object to texture constructor.
Benefits: -This would allow developer to manipulate textures dynamically using image processing libraries such as opencv, dcv.
This can be done with some function like addTextureAssetFromBase64.