Gimp.Image.prototype.get_resolution
function get_resolution(): [ok: Boolean, xresolution: Number(gdouble), yresolution: Number(gdouble)] {
// Gjs wrapper for gimp_image_get_resolution()
}
Returns the specified image's resolution.
This procedure returns the specified image's resolution in dots per inch. This value is independent of any of the layers in this image.
- ok
TRUE on success.
- xresolution
The resolution in the x-axis, in dots per inch.
- yresolution
The resolution in the y-axis, in dots per inch.