Image-Py / imagepy

Image process framework based on plugin like imagej, it is esay to glue with scipy.ndimage, scikit-image, opencv, simpleitk, mayavi...and any libraries based on numpy
http://imagepy.org
BSD 4-Clause "Original" or "Old" License
1.29k stars 330 forks source link

making posible to handle multiple files extensions with one writer/reader #62

Open Czaki opened 5 years ago

Czaki commented 5 years ago

handle different variants of extensions in one menu position. This is my proposition. In my work I meet different variants of tiff extension. On linux, the file chooser hide all files that do not match the pattern. so it can create problems with searching files. Also on linux size of letters has meaning.

Maybe it should be done with some more complicated structure like NamedTuple

import typing 
class FileExtensions(typing.NamedTuple):
    extension_name: str
    extesions_variants: tuple 
Czaki commented 4 years ago

close?