Gimp.Image.get_by_id

function get_by_id(image_id: Number(gint32)): Gimp.Image {
    // Gjs wrapper for gimp_image_get_by_id()
}
  

Since 3.0

image_id

The image id.

Returns

a Gimp.Image for image_id or null if image_id does not represent a valid image. The object belongs to libgimp and you must not modify or unref it.