Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Can the white background of the r.out.png of GRASS be changed to transparent?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Have you tried '-t' flag? Its there in 6.4.1.

share|improve this answer
    
I'm using grass 6.4.0. Is there a way to use transparency for 6.4.0? If I will upgrade to 6.4.1, I'm not sure if my current program will work on it. I don't want to risk the project that I am currently doing. –  teamAngat Aug 4 '11 at 14:15
    
Since the command is a separate tool, I'm assuming you could simply get the r.out.png.exe (assuming you're on Windows) from 6.4.1 and copy it to the bin directory (make a copy of the old EXE just in case). I'm not really sure if the GUI will show the -t option, but if not, then you can use it by entering the command manually. Note - I have NOT tested this, but I don't see why it wouldn't work. –  Sasa Ivetic Aug 4 '11 at 14:23
    
Ah. I understand your idea. Yes I'm using Windows. Where can I get the r.out.png.exe for 6.4.1 without downloading the installer WinGRASS-6.4.1-1-Setup.exe? –  teamAngat Aug 4 '11 at 14:45
1  
I can't see it on their site, so I zipped up the one from my directory: mediafire.com/?hfh7cwxs557f4jx –  Sasa Ivetic Aug 4 '11 at 15:20
    
I tried replacing the old r.out.png files in the bin, it does not work. The r.out.png script runs on GRASS but it does not generate any image file –  teamAngat Aug 4 '11 at 15:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.