# Gimp.Drawable.prototype.get_thumbnail_data

    function get_thumbnail_data(width: Number(gint), height: Number(gint)): [return_value: Uint8Array, actual_width: Number(gint), actual_height: Number(gint), bpp: Number(gint)] {
        // Gjs wrapper for gimp_drawable_get_thumbnail_data()
    }

Retrieves thumbnail data for the drawable identified by drawable. The thumbnail will be not larger than the requested size.

width

  the requested thumbnail width (<= 1024 pixels)

height

  the requested thumbnail height (<= 1024 pixels)

return_value

  thumbnail data or null if drawable is invalid.

actual_width

  the resulting thumbnail's actual width

actual_height

  the resulting thumbnail's actual height

bpp

  the bytes per pixel of the returned thubmnail data