picroscopy icon indicating copy to clipboard operation
picroscopy copied to clipboard

Add image format selection

Open waveform80 opened this issue 11 years ago • 1 comments

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).

waveform80 avatar Oct 05 '13 22:10 waveform80

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?

waveform80 avatar Oct 13 '13 09:10 waveform80