XDestroyImage

Syntax

XDestroyImage(ximage)
        XImage *ximage;

Arguments

ximage Specifies the image.

Description

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.

See also

XAddPixel(), XCreateImage(), XGetPixel(), XPutPixel(), XSubImage(), "Manipulating Images".
Christophe Tronche, [email protected]