<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 06/08/2019 à 10:42, P M a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CACf7ODvGNiBOsWRRtO3OXk-LP-6RN3Bd55_kXC+GK=5H99gcgw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>one hint....</div>
<div><br>
</div>
<div>what is the scale factor of your screen setting....mine was
set to 125%</div>
<div>I try to freely translate from German windows to english<br>
</div>
<div>-> right click on desktop</div>
<div> -> Display setting (or something like this..second from
the bottom)</div>
<div>-> change size of text, Apps and other elements<br>
</div>
<div><br>
</div>
<div>back to 100% and the image looks different</div>
<div>still there are pixels around the GUI from the background,
but at least the complete figure is screen shotted<br>
</div>
</div>
</blockquote>
<p>For the attached gui2bitmap_screensettings_100prct.png image
attached to that message on 06/08/2019 à 10:42,<br>
as well as for the next one gui2bitap_win10.png posted the same
day @ 14h45, these "pixels" around <br>
are a transparent border. Indeed, on Windows (as well win7), one
can tune the borders transparency.<br>
I don't think that this system parameter can be easily known from
Scilab (maybe thanks to an undocumented<br>
system_getproperty() key...?)<br>
So, if the user wants to keep its windows settings, the only
solution i could see is to propose at the<br>
gui2bitmap level to choose in the details, in the with-borders
mode, which border the he/she wants to keep:<br>
</p>
<ul>
<li> by default : %T will still mean "all borders".</li>
<li>otherwise : providing a boolean vector borders = [with_left,
with_bottom, with_right] will be possible.<br>
</li>
</ul>
<p>I will implement this for the next release.</p>
Regards<br>
<p>Samuel</p>
<br>
</body>
</html>