XDestroyImage

XDestroyImage The XDestroyImage() function deallocates the memory associated with the XImage structure. Note that when the image is created using XCreateImage(), XGetImage(), or XSubImage(), the destroy procedure that this macro calls frees both the image structure and the data pointed to by the image structure.

version(linux && !XUTIL_DEFINE_FUNCTIONS)
@nogc
int
XDestroyImage
(
XImage* ximage
)

Parameters

ximage XImage*

Specifies the image.

See Also

XAddPixel(), XCreateImage(), XGetPixel(), XPutPixel(), XSubImage(), http://tronche.com/gui/x/xlib/utilities/manipulating-images.html

Meta