On Sun, May 3, 2015 at 12:11 PM, Martin Landa <[email protected]> wrote:
> Hi,
>
> 2015-05-03 7:22 GMT+02:00 Markus Neteler <[email protected]>:
>> GRASS 7.0.1svn (nc_spm_08_grass7):~ > export GRASS_RENDER_HEIGHT=1350
>> GRASS 7.0.1svn (nc_spm_08_grass7):~ > export GRASS_RENDER_WIDTH=1500
>> GRASS 7.0.1svn (nc_spm_08_grass7):~ > d.mon start=png
>> ERROR: PNG: input file is not RGBA
>
> input image has been apparently created by cairo. Try to delete file
> before starting png display driver. Martin

Good catch! I though I had deleted it...

GRASS 7.0.1svn (nc_spm_08_grass7):~ > export GRASS_RENDER_HEIGHT=1350
GRASS 7.0.1svn (nc_spm_08_grass7):~ > export GRASS_RENDER_WIDTH=1500
GRASS 7.0.1svn (nc_spm_08_grass7):~ > rm -f map.png
GRASS 7.0.1svn (nc_spm_08_grass7):~ > d.mon start=png
Output file: /home/neteler/map.png
GRASS 7.0.1svn (nc_spm_08_grass7):~ > d.rast aspect
GRASS 7.0.1svn (nc_spm_08_grass7):~ > d.mon stop=png
GRASS 7.0.1svn (nc_spm_08_grass7):~ > file map.png
map.png: PNG image data, 640 x 480, 8-bit/color RGBA, non-interlaced

### now testing latest trunk changes:

...
GRASS 7.1.svn (nc_spm_08_grass7):~ > file map.png
map.png: PNG image data, 1500 x 1350, 8-bit/color RGBA, non-interlaced

... the latest change helps: seems to work now.

thanks
Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to