hms-dbmi / viv

Library for multiscale visualization of high-resolution multiplexed bioimaging data on the web. Directly renders Zarr and OME-TIFF.
http://avivator.gehlenborglab.org
MIT License
283 stars 46 forks source link

Scale bar styling #747

Open aliaksandr-voranau opened 11 months ago

aliaksandr-voranau commented 11 months ago

Hello!

Is it possible to add functionality for styling scale bar in components (PictureInPictureViewer, SideBySideViewer, VolumeViewer) ? For example possibility to change: color, font size, thickness of the bar.

Screenshot 2023-11-22 at 12 15 59

Or maybe it will be easier just to add background to the scale bar? Because when we change options for our images and they becomes lighter, it's really hard to read the value in the scale bar.

image

ilan-gold commented 11 months ago

If you submitted a PR, we would be happy to review! Happy to guide as needed!