Open TomArrow opened 6 years ago
With some small code modifications this is certainly possible. You'll want to edit lines 511 and 514; change the ".jpg" into ".png" and pass in some extra arguments into the imsave() function. Scipy uses Pillow for image I/O, so you'll be able to see all of your options here: https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#png
It's probably trivial, but I don't know how. TIFF, PNG or BMP would do fine for me.