camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
257 stars 295 forks source link

Convert Incompatible Slides on Load #490

Closed birm closed 3 years ago

birm commented 3 years ago

The loader service supports use of http://localhost:4010/loader/slide/jpg.jpg/pyramid/jpg.tif, which converts /images/jpg.jpg to a compatible /images/jpg.tif. This is confirmed working for the usual pattern, e.g. http://localhost:4010/img/IIP/raw/?DeepZoom=/images/jpg.tif_files/12/8_3.jpg

That said, outside of doing a manual post, I don't think we use that route. I intend to add it to the table load pipeline to try a convert in some cases. However, what should those cases be? Maybe by input format (e.g. try if a jpg is inserted) or on failure (if slide isn't openslide compatible, or other loader complaint)?

birm commented 3 years ago

solved with https://github.com/camicroscope/caMicroscope/commit/08656695dda08ee0df139c9dcfb49b0fdb3b990c