<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 3, 2015 at 4:12 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":1jy" class="" style="overflow:hidden">### now testing latest trunk changes:<br>
<br>
...<br>
GRASS 7.1.svn (nc_spm_08_grass7):~ > file map.png<br>
<span class="">map.png: PNG image data, 1500 x 1350, 8-bit/color RGBA, non-interlaced<br>
<br>
</span>... the latest change helps: seems to work now.</div></blockquote></div><br></div><div class="gmail_extra">Thanks Martin, with r65183 most of the things work. With environmental variables both PNG and Cairo drivers worked, i.e. the size was appropriate. Options width and height worked for Cairo but not for PNG:<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">ls<br><br></div><div class="gmail_extra">(nothing)<br></div><div class="gmail_extra"><br>d.mon png width=1500 height=1350<br>d.rast elevation<br><br>ERROR: PNG: input file has incorrect dimensions: expected: 1500x1350 got:<br>       640x480<br><br>file map.png <br><br>map.png: PNG image data, 640 x 480, 8-bit/color RGBA, non-interlaced<br><br></div><div class="gmail_extra">And the file is empty (white).<br><br></div><div class="gmail_extra">I also tested the default settings for Cairo and it (correctly) gives 640x480 image.<br></div></div>