Gimp.Vectors.export_to_string

@accepts(Gimp.Image, Gimp.Vectors)
@returns(unicode)
def export_to_string(image, vectors):
    # Python wrapper for gimp_vectors_export_to_string()
  

Save a path as an SVG string.

This procedure works like Gimp.Vectors.export_to_file but creates a string rather than a file. The contents are a NUL-terminated string that holds a complete XML document. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported.

Since 2.6

image

The image.

vectors

The vectors object to save, or 0 for all in the image.

Returns