Closed abespalko closed 5 months ago
Hi @abespalko and thanks for the detailed issue.
with WsiDicomizer.open("svs file") as wsi:
wsi.save("some path", add_missing_levels=True)
The add_missing_levels option is now functional!
Here is the SVS slide link: SVS Slide
I think it would be beneficial to have that option available for the CLI as well.
I will add the option to the CLI in the next release.
Description: When converting SVS (Whole Slide Imaging) files to DICOM format and subsequently rendering them in various DICOM viewers such as OHIF, an unexpected behavior is observed. Upon initial rendering, the DICOM file appears to be zoomed in, and attempts to zoom out result in an automatic zoom back to the initial position. This behavior has been consistently replicated using SVS files obtained from OpenSlide Demo. It's important to note that this issue seems isolated to SVS files, as conversion and rendering of other file formats proceed without any such complications.
Steps to Reproduce:
Expected Behavior:
The DICOM file should render in the viewer with the entire slide visible on the screen upon initial opening, instead of being automatically zoomed in. Example:
Users should be able to freely navigate and zoom in/out of the slide as needed, without any automatic reversion to a zoomed-in position.
Attachments:
Video demonstrating current behavior: This video illustrates the current behavior of the DICOM viewer when opening a converted SVS file, showcasing the automatic zooming-in phenomenon and the inability to maintain a zoomed-out view of the entire slide.