You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vtkWindowToImageFilter which is used in png() to get an image from the window supports a parameter int magnification which allows the user to save a larger image than the window size.
Note this does not change the width/height ratio, so probably we won't need to replot anything in changeEvent. This will get rid of a large chunk of tricky code and probably speedup computation when resizing is involved.
It will involve an incompatible change and resizing will be more limited it maybe worth investigating.
@doutriaux1 I agree with that. The question is if the user really needs a resize that involves changing the ratio or what he needs is to save a larger image (higher resolution).
If the user only needs a larger image (which I think it is the case) we can get rid of the code from changeEvent (and the headache that comes with it).
vtkWindowToImageFilter which is used in png() to get an image from the window supports a parameter int magnification which allows the user to save a larger image than the window size.
Note this does not change the width/height ratio, so probably we won't need to replot anything in changeEvent. This will get rid of a large chunk of tricky code and probably speedup computation when resizing is involved.
It will involve an incompatible change and resizing will be more limited it maybe worth investigating.
@doutriaux1 @aashish24 @sankhesh @williams13 What do you think?
The text was updated successfully, but these errors were encountered: