bioimage-io / bioimage.io

Website for the BioImage Model zoo -- a model zoo for bioimage analysis.
https://bioimage.io
MIT License
52 stars 17 forks source link

Support for various cover image suffixes #412

Closed FynnBe closed 1 week ago

FynnBe commented 2 weeks ago

The cover images for [stupdendous-sheep])https://bioimage.io/#/?type=model&tags=empanada&id=stupendous-sheep) are not displayed (.tif cover images). The preview using the thumbnails work. The thumbnails are saved as .png images).

Which of these file formats does the website support? (Here is a list of the allowed cover image suffixes according to the current spec)

FynnBe commented 2 weeks ago

offline @oeway stated that the website currently cannot handle .tiff-files

FynnBe commented 1 week ago

.tiff files are actually not allowed in the latest spec versions anymore...

FynnBe commented 1 week ago

we need to manually update older RDFs using tif cover images though...

oeway commented 1 week ago

we need to manually update older RDFs using tif cover images though...

Previously we have a conversion when generating the cover, so maybe we can just run that for all the older RDFs?

FynnBe commented 1 week ago

yes, but that thumbnail is also downscaled a bit. I fixed it manually for the one model that made me discover this issue and it might have been the only one. I couldn't find another, but haven't searched through them all. I think we can close this issue though and if we encounter another case just fix it manually.