which c++ api allows me to generate images? i hope to use these libraries also in a background task.
Microsoft Certified Solutions Developer - Windows Store Apps Using C#
You can generate images with Direct2D. This should work in the background.
You can also use WriteableBitmap and directly fiddle with the pixel buffer.