Would you mind the if the exported preview image has the size of the preview widget? Or you need it to have the same size as the original image? The framework i'm using has some limitations on how using opengl rendering.
Great! Anyways I managed to export the original size also while I waited for your reply.. just the lighting effect is not exactly the same as the preview.. I'll let the user chose wether he/she wants to export full preview or original size.