Functions | |
| void | wmf_gd_function (wmfAPI *API) |
| int * | wmf_gd_get_image_pixels (wmfAPI *API) |
| int * | wmf_gd_image_pixels (void *gd_image) |
|
|
|
|
|
If using the wmf_gd_image option to write to a GD image, the true-color pixels (stored in a contiguous array of height * width integers) of the image can be retrieved using wmf_gd_get_image_pixels(). The returned buffer is owned by the API and is released by wmf_api_destroy(); do not free() it. |
|
|
Deprecated: use wmf_gd_get_image_pixels() instead. When libwmf is built against system libgd this function returns NULL, as the public libgd API exposes no contiguous backing store to borrow. |
1.2.18