Skip to content

Fix bands in images with large magnification

When saving out images with large magnificaiton (e.g. 20), and FixBoundary was true, vtkWindowToImageFilter would end up not rendering for certain bands due to incorrect viewport offsetting computation. We were offsetting more than we should have as a result we didn't render for parts of the image. Fixed that and added a test (TestWindowToImageFixBoundary).

Addresses paraview/paraview#16813 (closed)

Merge request reports