Page MenuHomePhabricator

Develop dynamic extension checking for file writing
Closed, WontfixPublic


The possible file extensions for file writing are currently passed by a hard coded list in the mitk::FileWriter class. To dynamically check the possible file extensions and write them to a save dialog list itk provides a useful mechanism to check for possible file extensions. This method should be adapted to work for mitk::FileWriters as well. Furthermore not supported file formats from the itkImageIO should be excluded from that list.

Event Timeline

e.g. when i click "save image" onto an image in the datamanager, in the dialog i can choose formats which are totally unsuitable, like:
dwi / hdwi (only works with diffusion images)
hqbi / qbi (qball)

If i choose them, i get the message "Not suitable for image writing".

Possible image formats can be determined dynamically (like sven said), but should also be checked for plausability.

I guess this bug will be solved with Keno's start up project. I add Keno in CC so he can decide for dependencys or duplicate status.

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.