picroscopy
picroscopy copied to clipboard
Add image format selection
Should have the ability to use a lossless output like PNG. Scientists will almost certainly want TIFF output too. One question is how to preserve Exif data with these other formats (ought to be possible with TIFF given that's where Exif originated - no idea about PNG and whether PIL/Pillow supports writing Exif at all, let alone to non-JPEG formats).
Implemented TIFF and PNG support in 1da09f3a0e3695bc299f88d583cac9a044ae008c using external dependency of exiftool to preserve Exif data across conversions. Browser support for TIFF is lacking so images taken in this format can't be viewed ... maybe keep an additional JPEG around for that bit?