lua.wetgenes.grd.convert
g:convert(fmt)
Convert this grd to a new format, eg start with an 8 bit indexed grd and convert it to 32 bit like by passing in wgrd.FMT_U8_RGBA as the fmt.
Returns nil,error if something goes wrong so can be used with assert otherwise returns g so that we can chain the result.