get_thumbnail_data


Description:

public Bytes? get_thumbnail_data (int width, int height, out int actual_width, out int actual_height, out int bpp)

Retrieves thumbnail data for the drawable identified by this.

The thumbnail will be not larger than the requested size.

Parameters:

this

the drawable

width

the requested thumbnail width (<= 1024 pixels)

height

the requested thumbnail height (<= 1024 pixels)

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

Returns:

thumbnail data or null if this is invalid.