Create a nanoflow button somewhere and do the following (see below). And then commit the image file . Retrieve it in order to show it to the user.
(Save the images below, to see the whole printscreen ;) ) Hope this helped