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. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported.
Since 2.6
- image
The image.
- file
The SVG file to create.
- vectors
The vectors object to be saved, or 0 for all in the image.
- Returns
TRUE on success.