-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pyramids with small top levels #620
Comments
Would it be possible to provide some data we could test on? I think most images have top levels smaller than the tile size, so I'm a bit confused - for example, this demo has top level |
It took a bit of time for us to put together a live example because multiple people needed to be involved: |
Ok, I understand the issue now, sorry about the confusion. Zarr pads by default out to the chunk size i.e the tile size. @manzt I think we could implement something in the |
User story
I would like to be able to load a Zarr pyramid into Aviator, which has top levels in it that are smaller than the tile size on the lower levels. Doing so results in the image having a black box around it. The highest level of the pyramid is 1x1 pixel. I changed the
canvas
background-color
in Avivator to white to make this clearly visible.This black box is also present when I load a dataset without these top levels, but the black box is smaller in this case.
Preferred solution
Modify viv, such that it does not draw the black box.
Possible alternatives
An alternative solution would be to remove these top levels from the data. However, we would like to have them for a performance boost, when loading multiple pyramids at once.
The text was updated successfully, but these errors were encountered: