Grass maps v/s html

Hello Fellow Grassmates ,

I am writing an application which needs to display grass raster maps in a
browser window like Netscape .The idea is for the client to get the grass
commands executed remotely on a server and see the resultant maps on his
browser window instead of the graphics monitor.
I have the foll Q's
1. How do I convert the raster file formats to a format like .gif which
   can then be displayed by a browser .

2. Is there any shareware available which does this ?

Thanks!

Ian