I add a toggle button to the Raw visualization toolbar and a (persisted) config store to hold the state. The button is toggled on by default. When the dataset isn't a binary image, the button is disabled.
I chose to create a separate visualization component called RawImageVis to deal specifically with JPEG/PNG images; it's the RawVisContainer that now decides which visualization component to use.
Fix #1630
I add a toggle button to the Raw visualization toolbar and a (persisted) config store to hold the state. The button is toggled on by default. When the dataset isn't a binary image, the button is disabled.
I chose to create a separate visualization component called
RawImageVis
to deal specifically with JPEG/PNG images; it's theRawVisContainer
that now decides which visualization component to use.