get_thumbnail_data


Description:

public Bytes get_thumbnail_data (ref int width, ref int height, out int bpp)

Get a thumbnail of an image.

This function gets data from which a thumbnail of an image preview can be created. Maximum x or y dimension is 1024 pixels. The pixels are returned in RGB[A] or GRAY[A] format. The bpp return value gives the number of bytes per pixel in the image.

Parameters:

this

The image.

width

The requested thumbnail width.

height

The requested thumbnail height.

bpp

The previews bpp.

Returns:

the thumbnail data.