Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Slicer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sam Horvath
  • Slicer
  • Merge requests
  • !411

BUG: Enable high-resolution screenshots of slice views

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Sam Horvath requested to merge github/fork/msmolens/scale-slice-view-screenshot into master Nov 17, 2015
  • Overview 10
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: msmolens

This commit enables rendering high-resolution screenshots of the slice views. Previously the screenshots were scaled and interpolated after being captured at screen resolution.

Alternative attempts to render these screenshots, using vtkRenderLargeImage or vtkWindowToImageFilter without offscreen rendering, resulted in incorrect rendering of one or more of: the slice image, the annotations (ruler, orientation marker, etc.), or lightbox mode.

Open issues are:

  • Some text doesn't scale in the high-resolution screenshot (corner annotation, ruler measurement, orientation marker labels)
  • Ruler height is fixed

On Windows this depends on offscreen rendering fixes in vtkWin32OpenGLRenderWindow: vtk/vtk!992 (merged)

Fixes #3885

Co-authored-by: Alexis Girault alexis.girault@kitware.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/msmolens/scale-slice-view-screenshot