1999
Andy Thomas
Get a thumbnail of a drawable.
This function gets data from which a thumbnail of a drawable 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 in the image.
unknown
Type | Name | Description |
---|---|---|
PF_DRAWABLE | drawable | The drawable |
PF_INT | width | The requested thumbnail width (1 <= width <= 1024) |
PF_INT | height | The requested thumbnail height (1 <= height <= 1024) |
Type | Name | Description |
---|---|---|
PF_INT | actual-width | The previews width |
PF_INT | actual-height | The previews height |
PF_INT | bpp | The previews bpp |
PF_INT | thumbnail-data-count | The number of bytes in thumbnail data (thumbnail-data-count >= 0) |
unknown | thumbnail-data | The thumbnail data |