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

thumbnails: correctly use zoom value if specified #3487

Merged
merged 1 commit into from
Nov 22, 2018
Merged

Conversation

fm3
Copy link
Member

@fm3 fm3 commented Nov 22, 2018

Before, the thumbnail generation interpreted the zoom value as the exponent, but it was sent as the concrete value, we need a binary logarithm as conversion in between.

Steps to test:

  • specify zoom for a dataset (in edit dataset →view configuration)
  • thumbnail should still work even for large zoom values
  • thumbnail still displays a resolution 1:1 but it selects this resolution based on the zoom value of supplied (some zoom value changes will not have an impact on the thumbnail. If we want that, we need to change more here)

@fm3 fm3 merged commit 6f1e527 into master Nov 22, 2018
@fm3 fm3 deleted the thumbnail-zoom branch November 22, 2018 14:43
jfrohnhofen added a commit that referenced this pull request Nov 23, 2018
* origin/master:
  Optimize performance for the list request /api/datasets (#3441)
  add annotation dataset foreign key  (#3482)
  thumbnails: correctly use zoom value if specified (#3487)
  Store Meshes in Postgres (#3367)
  fix alpha return (#3483)
  Added script to apply all new evolutions (#3427)
  Simple fix to speed up dataset gallery (#3480)
  better errors for screenshot tests, fix imports, refresh screenshots (#3479)
  (Backend only) Add project priority to progress report json (#3476)
  Handle missing write access on datastore (#3411)
  Re-introduce "Flightmode improvements"" (#3473)
  Circleci-notify: linkify PR number (#3469)
  Revert "Flightmode improvements" (#3472)
  also flow-ignore binaryData when using symlinks (#3471)
  Flightmode improvements (#3392)
  Circleci custom notification (#3465)
  enable /api/switch cross-organization (#3464)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants