gphoto2-based software to take preview pictures from camera and replace contrast green background with predefined image