<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} p
{margin-top:0;
margin-bottom:0}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div>
<p>Dear Paraview community,</p>
<p><br>
</p>
<p>I created a full layout with 5 different views and would like to save a screenshot. The paraview GUI looks exactly like the image I want to save so I just use File -> Save Screenshot and keep the default resolution. The settings and the generated image are
attached as "settings_test1" and "test1" (everything works fine).</p>
<p><br>
</p>
<p>If I change the resolution of one pixel in one of the dimensions (width for example), the resulting image shows huge scalar bars. Here are also attached the screenshot settings and the resulting image ( as "settings_test2" and "test2" ). I have to mention
that the small numbers on the views are in fact 3D Text objects.</p>
<p><br>
</p>
<p>The entire visualization is produced by a Python script that I launch in the following way :
<em>Tools -> Python Shell -> Run Script. </em>In order to avoid resolution problems, I also tried to run the script with pvbatch and at the end save the screenshot with the following settings :</p>
<p><br>
</p>
<p>SaveScreenshot(OutputImageName,layout, SaveAllViews=1,<br>
ImageResolution=UsrImageRes,<br>
FontScaling="Scale fonts proportionally",<br>
SeparatorWidth=1,<br>
SeparatorColor=(1,1,1),<br>
ImageQuality=100<br>
)</p>
<p><br>
</p>
<p>These settings are the same as the ones presented in the "settings_test*" images. The result attached as "test3.png".<br>
</p>
<p><br>
</p>
<p>Is this a bug or this behaviour should be expected ? Does anybody has an idea ? Are the problems with pvbatch and the GUI related or not ?<br>
</p>
<p><br>
</p>
<p>I'm using Paraview 5.4.0 with MPI enabled when I use the GUI.<br>
</p>
<p><br>
</p>
<p>Kindly,</p>
<p><br>
</p>
<p>Lionel Wilhelm<br>
</p>
</div>
</div>
</body>
</html>