On Mon, Mar 28, 2016 at 2:53 PM, Martin Landa <[email protected]> wrote:
> 2015-05-04 2:47 GMT+02:00 Vaclav Petras <[email protected]>: > > d.mon png width=1500 height=1350 > > d.rast elevation > > > > ERROR: PNG: input file has incorrect dimensions: expected: 1500x1350 got: > > 640x480 > > I cannot reproduce this behavior: > > d.mon png w=1000 h=500 out=/tmp/png.png > > d.rast dmt --v > ... > png: image size 1000x500 > Works with output. > d.mon png width=1500 height=1350 output=/tmp/png.png > d.rast elevation --v Using display driver <png>... png: truecolor status enabled png: collecting to file '/tmp/png.png' png: image size 1500x1350 But using the default file name it fails: > d.mon png width=1500 height=1350 > d.rast elevation --v Using display driver <png>... png: truecolor status enabled png: collecting to file '/.../map.png' png: image size 1500x1350 ERROR: PNG: input file has incorrect dimensions: expected: 1500x1350 got: 640x480 When I use file command: > ls [nothing] > d.mon png width=1500 height=1350 > file map.png map.png: PNG image data, 640 x 480, 8-bit/color RGBA, non-interlaced > > Probably map.png has been created by cairo driver? Ma No sure how this works but I'm not starting cairo at the same time. Thanks for getting back to this, Vaclav
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
