Gimp.Vectors.export_to_file

function export_to_file(image: Gimp.Image, file: Gio.File, vectors: Gimp.Vectors): Boolean {
    // Gjs wrapper for gimp_vectors_export_to_file()
}
  

save a path as an SVG file.

This procedure creates an SVG file to save a Vectors object, that is, a path. The resulting file can be edited using a vector graphics application, or later reloaded into GIMP. Pass null as the 'vectors' argument to export all paths in the image.

Since 2.6

image

The image.

file

The SVG file to create.

vectors

The vectors object to export, or null for all in the image.

Returns

TRUE on success.