To follow the new guidelines concerning the licenses of our posts (Welcome to Discourse), I state that:
- the code posted in the two first posts of that thread are under the same license as gtk-fortran (GNU GPL v3), being one of the examples of the project.
- The text of those posts is under GNU Free Documentation License 1.3 (license of the gtk-fortran documentation).
I have just pushed a second tutorial based on the content of those posts:
Tutorial 2: drawing an image in a PNG file (without GUI)
https://github.com/vmagnin/gtk-fortran/wiki/Tutorial-2