openmicroscopy/openmicroscopy — pull request #417 by will-moore (2012-10-22 09:33:33+00:00)
Title: Download OME-TIFF button runs Batch_Image_Export. See #8791

Also moved the 'Archived Files' download button into the
same dropdown menu, and added a JPEG option (same as Insight).

This is probably not ready to merge just now, I just wanted others to have a look for feedback etc.

To test, (need to Archive Files on import) try downloading Archived files and export OME-Tiff via "Download" button in right panel of an Image.

I'm planning to have a "Confirm" dialog open for both the "Download Original File" and "Export OME-TIFF" options, to explain to the user what's happening. Both operations can take several seconds or longer, so they need to know what's happening.

Questions:
- When we download OME-TIFF (it's an attachment on the image) do we delete it from the Image? Could ask the same question for any attachment generated by script. If NOT, it's still taking up space (and becomes out of date with current annotations etc).
- If the user chooses to export OME-TIFF a second time, do we automatically overwrite any existing OME-TIFF attachments to the image (probably should).