Here I enclose you a folder with the "Hello World" application changed to load an user selected image. All necessary files are included. The image can be loaded from a file, or embedded inside the executable. Please tell me if you need the last case.
This is the .cpp file: