napari-imagej
napari-imagej copied to clipboard
Support ColorRGB
SciJava features the ColorRGB class, which does not work in napari-imagej. This was made clear by #60, where I had to comment out the ColorRGB parameter.
I'm not sure that we can support this yet, as magicgui has no support for a color type, so entering a color would be hack-y and would have to rely on a Line edit.
Is there even really a demand to support ColorRGB? @ctrueden
You could support it with three sliders 0-255, for R, G, and B respectively (and a fourth A for ColorRGBA). But a dedicated color picker widget would be best of course.
You could support it with three sliders 0-255, for R, G, and B respectively (and a fourth A for
ColorRGBA). But a dedicated color picker widget would be best of course.
Well, napari actually has a very nice color picker; I am lobbying for it (or at least parts of it) to be moved into magicgui. There are still questions, though...