Method
GimpImageget_thumbnail
Declaration [src]
GdkPixbuf*
gimp_image_get_thumbnail (
GimpImage* image,
gint width,
gint height,
GimpPixbufTransparency alpha
)
Description [src]
Retrieves a thumbnail pixbuf for image
.
The thumbnail will be not larger than the requested size.
Available since: | 2.2 |
Parameters
width |
gint |
The requested thumbnail width (<= 1024 pixels) |
|
height |
gint |
The requested thumbnail height (<= 1024 pixels) |
|
alpha |
GimpPixbufTransparency |
How to handle an alpha channel. |
Return value
Returns: | GdkPixbuf |
A new |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |