I have just done some image processing using the Python image library (PIL) using a post I found earlier to perform fourier transforms of images and I can\'t get the save fu
I know that this is old, but I've found that (while using Pillow) opening the file by using open(fp, 'w') and then saving the file will work. E.g:
open(fp, 'w')
with open(fp, 'w') as f: result.save(f)
fp being the file path, of course.
fp