Images are now saved in the same format as loaded