# Gimp.Metadata.prototype.set_resolution

    function set_resolution(xres: Number(gdouble), yres: Number(gdouble), unit: Gimp.Unit): void {
        // Gjs wrapper for gimp_metadata_set_resolution()
    }

Sets Exif.Image.XResolution, Exif.Image.YResolution and Exif.Image.ResolutionUnit of metadata.

Since 2.10

xres

  The image's X Resolution, in ppi

yres

  The image's Y Resolution, in ppi

unit

  The image's unit