# Gimp.Image.prototype.import_paths_from_file

    function import_paths_from_file(file: Gio.File, merge: Boolean, scale: Boolean): [ok: Boolean, paths: Array(Gimp.Path)] {
        // Gjs wrapper for gimp_image_import_paths_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

file

  The SVG file to import.

merge

  Merge paths into a single path object.

scale

  Scale the SVG to image dimensions.

ok

  TRUE on success.

paths

  The list of newly created paths.