# Gimp.Image.prototype.metadata_load_prepare

    function metadata_load_prepare(mime_type: String, file: Gio.File): Gimp.Metadata {
        // Gjs wrapper for gimp_image_metadata_load_prepare()
    }

Loads and returns metadata from file to be passed into Gimp.Image.prototype.metadata_load_finish.

Since 2.10

mime_type

  The loaded file's mime-type

file

  The file to load the metadata from

Returns

  The file's metadata.