Window to choose an image and then apply FFT to it, not able to save it