# Gimp.VectorLoadProcedure.prototype.extract_dimensions

    function extract_dimensions(file: Gio.File): [ok: Boolean, data: Gimp.VectorLoadData] {
        // Gjs wrapper for gimp_vector_load_procedure_extract_dimensions()
    }

Extracts native or suggested dimensions from file, which must be a vector file in the right format supported by procedure. It is considered a programming error to pass a file of invalid format.

file

  a [iface@Gio.File] which can be processed by procedure.

ok

  true if dimensions could be extracted.

data

  the returned dimension data.