lua.wetgenes.grdsvg.string
local svgstring=wgrdsvg.string(grd,opts)
Return an svg formated string that represents the input grd which must be an indexed (8bit) format. Each pixel will be converted into a filled svg rectangle element. Opts can contain the following options to control the generation of the svg file.
opts.skip_transparent_pixels=true
Do not export a rectangle for fully transparent pixels.
opts.scalex=1
Width of each exported pixel.
opts.scaley=1
Height of each exported pixel.