You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening tiff files with the photometric PALETTE value results in a new custom colormap being added to the napari colormap dropdown list. And if you open multiple images like this, you get multiple custom colormaps (one for each tiff image opened).
Drag and drop the "bali.tif" image onto an open napari viewer (with the napari-tiff plugin installed in your napari environment). Observe that the image opens, and a new colormap called [unnamed colormap: 0] has appeared in the list of colormaps.
Again, drag and drop the "bali.tif" image onto the napari viewer a second time. Observe that a second copy of the image opens, and the colormap associated with it is called [unnamed colormap: 1]
Problem
Opening tiff files with the photometric PALETTE value results in a new custom colormap being added to the napari colormap dropdown list. And if you open multiple images like this, you get multiple custom colormaps (one for each tiff image opened).
How to reproduce
Drag and drop the "bali.tif" image onto an open napari viewer (with the napari-tiff plugin installed in your napari environment). Observe that the image opens, and a new colormap called
[unnamed colormap: 0]
has appeared in the list of colormaps.Again, drag and drop the "bali.tif" image onto the napari viewer a second time. Observe that a second copy of the image opens, and the colormap associated with it is called
[unnamed colormap: 1]
Extra details
This is the relevant section of code:
napari-tiff/napari_tiff/napari_tiff_metadata.py
Lines 146 to 154 in 7dd6c3b
The text was updated successfully, but these errors were encountered: