Gimp.Vectors.import_from_file

@accepts(Gimp.Image, Gio.File, bool, bool, int, [Gimp.Vectors])
@returns(bool)
def import_from_file(image, file, merge, scale, num_vectors, vectors):
    # Python wrapper for gimp_vectors_import_from_file()
  

Import paths from an SVG file.

This procedure imports paths from an SVG file. SVG elements other than paths and basic shapes are ignored.

Since 2.4

image

The image.

file

The SVG file to import.

merge

Merge paths into a single vectors object.

scale

Scale the SVG to image dimensions.

num_vectors

The number of newly created vectors.

vectors

The list of newly created vectors.

Returns