I did it also directly in the terminal and it's the same result.
Adding 'width' and 'height' parameters to d.mon has given the expected
result.
viascript.png PNG 1280x960 1280x960+0+0 8-bit DirectClass 72.7KB 0.000u
0:00.000
(NB I tried it before unsuccessfully, but I was not deleting the
existing image, thanks for mentioning it to me).
d.mon still fails for the transparent background.
I used the parameter 'bgcolor' to change the background color, but
declaring bgcolor='none' give me an error.
'transparent' parameter does not exists. Any idea on which parameter to
use for such behaviour?
With these tests, I have the impression that 'GRASS_RENDER_TRANSPARENT',
'GRASS_RENDER_HEIGHT', 'GRASS_RENDER_WIDTH' are not taken into account
by d.mon.
I still have to test all this using another location instead of the
one I've set up.
--
Jean Pierre Huart
On 09/03/16 20:04, Moritz Lennert wrote:
On 09/03/16 18:01, jean pierre huart wrote:
Launching the two scripts directly in GRASS7 console using my
location/mapset give the following results for just one width, height
(1280,960):
Using d.mon (not ok)
viascript.png PNG 640x480 640x480+0+0 8-bit DirectClass 30.5KB 0.000u
0:00.000
I didn't try in the console, but directly in the terminal. Not sure
how d.mon and wxGUI console interact.
Note that d.mon also has width and height parameters. Have you tried
with those ?
Moritz
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user