Gimp.buffer_get_image_type

function buffer_get_image_type(buffer_name: String): Gimp.ImageBaseType {
    // Gjs wrapper for gimp_buffer_get_image_type()
}
  

Retrieves the specified buffer's image type.

This procedure retrieves the specified named buffer's image type.

Since 2.4

buffer_name

The buffer name.

Returns

The buffer image type.