<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">gui2bitmap 1.1 is released.<br>
    </div>
    <p>CHANGES 1.0 => 1.1<br>
      ==================<br>
      FIX and IMPROVEMENTS:<br>
    </p>
    <div class="moz-cite-prefix">
      <ol>
        <li>On Windows, any graphical window that is partly shifted
          off-screen is now managed.</li>
        <li>On slow computers, sometimes the snapshot shew some
          overlaying window instead of the Graphical one.</li>
        <li>Loading the library was bugged with Scilab 5.5.2.</li>
        <li>In case of NWNI mode, the error message was wrong.</li>
      </ol>
      <p>Philipp,<br>
        <br>
        I hope the point 2) will now be ok on your side:<br>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">One test by accident:

=> figure was created, but with content that overlayed the figure...in
my case I copied the example from the help page, without exporting the
figure.
The export command I typed in afterwards by hand...so the console
overlayed the figure.....as a result the exported image showed the
scilab figure beeing overlayed by the console.
</pre>
        </blockquote>
        <br>
        You may also test the point 1).<br>
        Both points are quite sensitive to graphics speed, that depends
        on the Scilab version, and on the computer.<br>
        <br>
        Now i will work a bit on animaGIF() to make it using
        gui2bitmap() instead of xs2png().<br>
        <br>
        Best regards<br>
        Samuel<br>
      </p>
      <br class="Apple-interchange-newline">
    </div>
    <div class="moz-cite-prefix">Le 04/08/2019 Ã  22:22, P M a Ã©crit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CACf7ODsmqaPB--RtXuvKrMGdxL9Hbx4Ptz5BykJcMJdZG8AqGg@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">After updating Atoms it works now...thanks.

So here are some tests:

Screen: 1280 x 1024 px
Graphic Card: NVIDIA GeForce 210:
View images with IrfanView.

>From the 1st example of gui2bitmap.
f.axes_size = [650 400];

1.:  Exporting the figure WITH borders: resulting image is 658 x 448 px
=> +8 px in width
=> + 48px in height
--> understandable, because the toolbar and borders are added to the figure

2.: Exporting the figure WITHOUT borders gives 650 x 400 px...
all OK...The image content is exactly as created in Scilab


3.: Exporting an image with size > monitorsize:
Same behaviour as before, that means, pixels are either added when
used with borders.
Pixels are not added when used without borders.
However, the resulting image does only show pixels which are visible
at the monitor when Scilab disdplays the figure.

Conclusion:
When one trys to screenshot a huge figure, one has to be a bit careful
that the scilab figure does not exceed the monitor size.


One test by accident:

=> figure was created, but with content that overlayed the figure...in
my case I copied the example from the help page, without exporting the
figure.
The export command I typed in afterwards by hand...so the console
overlayed the figure.....as a result the exported image showed the
scilab figure beeing overlayed by the console.

That all makes sense, because at the moment of the screenshot the
figure was indeed hidden behind the console.


Summary: All good so far.

BR
Philipp
</pre>
    </blockquote>
    <br>
  </body>
</html>