Skip to content

Use Image trace and add low-res slices #3

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

Merged
merged 4 commits into from
Nov 3, 2020
Merged

Use Image trace and add low-res slices #3

merged 4 commits into from
Nov 3, 2020

Conversation

almarklein
Copy link
Collaborator

@almarklein almarklein commented Oct 30, 2020

The idea is to show the low-res version of a slice while we wait for the actual slice to load.

  • Upload low-res images at the start, and use these while the high-res data is being loaded.
  • Use Image trace instead of layout image.

Notes:

  • The figure flickered quite a bit when being updated (on Firefox). This was greatly reduced when moving to the Image trace.
  • When updating the value to request the new high-res data, the client freezes (on Chrome more than on FF), so the updating of low-res slices is slowed/halted.
  • If we could detect when the slider is released, we could request the full slice at that moment, resulting in a smoother experience.
  • When we implement contrast limits ... these will invalidate the low-res textures too ...

@almarklein almarklein changed the title Low-res slices Use Image trace and add low-res slices Nov 3, 2020
@almarklein almarklein merged commit 87790f5 into main Nov 3, 2020
@almarklein almarklein deleted the low-res branch November 3, 2020 09:35
@almarklein almarklein mentioned this pull request Nov 4, 2020
Closed
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant