The image for the SlicerLiver extension in the extension manager looks blurry; it is probably too small.
Is there any specific size or aspect ratio that should be respected?
The image for the SlicerLiver extension in the extension manager looks blurry; it is probably too small.
Is there any specific size or aspect ratio that should be respected?
The .s4ext files recommend 128x128, but based on conversations in Allow logos with higher resolution · Issue #1777 · Slicer/ExtensionsIndex · GitHub, it seems appropriate to raise that. Maybe 512x512. I know that Slicer extension TorchIO uses a 1024x1024 PNG file (SlicerTorchIO/TorchIOTransforms.png at master · fepegar/SlicerTorchIO · GitHub). There was an issue with an image of 2048x2048, so there can be issues with it being too large, but evidently 1024x1024 worked for them without issue. Also typical square aspect ratio seems to be preferred when serving as an icon (QIcon) in Slicer.
I agree that we should recommend higher resolution than 128x128. Probably today 256x256 icon is ideal as it is sufficiently high resolution and not a lot of time wasted with downloading and resampling. But we could recommend 512x512 to be a bit more future-proof (and if needed then we can downscale them to smaller size and cache it to improve performance).
Requiring square icon is a good idea, too, as it simplifies the extension catalog design.
@jcfr @pieper if you agree then we could add this updated info to the documentation.