vendredi 24 juin 2022

Simple way to display image without external library in C++

I have an image represented as a list of pixels (r, g, b, a) and would like to display it on the screen.

I look for a simple solution without external libraries (being aware of the many good answers involving those). On the other hand I don't care about "fancy" stuff like UI, double buffering, antialiasing, ...

Basically just a plane where pixels can be drawn to.

A Windows solution would be preferred, but if it's simple, Linux is also fine.

Aucun commentaire:

Enregistrer un commentaire