Skip to content
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

Don't use tiles for non-big movies #456

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/viewers/viewer/source/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,13 @@ const OmeroImage = function(options) {
/**
* should we use tiled retrieval methods?
* for now use them only for truly tiled/pyramidal sources
* and images that exceed {@link UNTILED_RETRIEVAL_LIMIT}
* and single-T images that exceed {@link UNTILED_RETRIEVAL_LIMIT}
* (Want to avoid async tile loading while movie is playing)
* @type {boolean}
* @private
*/
this.use_tiled_retrieval_ = this.tiled_ ||
this.width_ * this.height_ > UNTILED_RETRIEVAL_LIMIT;
this.width_ * this.height_ > UNTILED_RETRIEVAL_LIMIT && this._time == 1;

/**
* for untiled retrieval the tile size equals the entire image extent
Expand Down