Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I already managed to create a .ps file. How do I convert it to .png using a GRASS script?

share|improve this question
On which operating system are you working? – rengis Mar 20 '11 at 15:08
Windows. I am using GRASS GIS – teamAngat Mar 20 '11 at 15:15

Maybe have a look at ImageMagick, there is a Windows version. I was referring in my previous post also to IM, although under Linux.

share|improve this answer
Will this work with GRASS gis for its script? or it is an entirely separate software just for converting images? – teamAngat Mar 20 '11 at 15:31
Separate software to convert and manipulate images. – rengis Mar 20 '11 at 15:51
Can its functions be called using a script or integration with GRASS? – teamAngat Mar 20 '11 at 17:08
Yes, you can integrate the "convert" tool of ImageMagick in a simple script following the or other commands to convert to PNG. – markusN Mar 20 '11 at 19:23
I installed ImageMagick but it displays ERROR: convert : illegal request after I included convert 23.png in my – teamAngat Mar 21 '11 at 15:34

Your Answer


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.