I don't know how to avoid the use of convert... I've found my way to
produce georeferenced transparent images:

export the raster with r.out.png, create the pgw world file
(extracting the values from r.info), and convert the outpu.png with
"convert -transparent white output.png output_transp.png"

I works fine for me.

2008/1/5, Moritz Lennert <[EMAIL PROTECTED]>:
> On 05/01/08 02:23, David Finlayson wrote:
> > Here is a link to my web site with the latest version:
> >
> > http://david.p.finlayson.googlepages.com/grasstogoogleearth
> >
> > I have something that works for me, but I was forced to use image
> > magick to clip the nodata collar off of the exported png file. If I
> > can figure out how to get a one-to-one correspondence between raster
> > cells and image pixels, I fix it again.
>
> Have you checked out gdal2tiles [1]? I have no idea if this is in anyway
> close to what you are trying to do, but maybe there are some ideas in there.
>
> Also CC'ing Rainer as this might also be something useful for him.
>
> Moritz
>
> [1] http://www.gdal.org/gdal2tiles.html
> _______________________________________________
> grass-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to