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.
| this |
The image. |
| width |
The requested thumbnail width. |
| height |
The requested thumbnail height. |
| bpp |
The previews bpp. |
|
the thumbnail data. |