NAME
XDestroyImage — deallocate memory associated with an image.
SYNOPSIS
XDestroyImage(ximage) XImage ∗ximage;
ARGUMENTS
ximageSpecifies a pointer to the image.
DESCRIPTION
XDestroyImage() deallocates the memory associated with an XImage structure. This memory includes both the memory holding the XImage structure, and the memory holding the actual image data. (If the image data is statically allocated, the pointer to the data in the XImage structure must be set to zero before calling XDestroyImage().)
For more information on images, see Volume One, Chapter 6, Drawing Graphics and Text.
SEE ALSO
XImageByteOrder(), XAddPixel(), XCreateImage(), XGetImage(), XGetPixel(), XGetSubImage(), XPutImage(), XPutPixel(), XSubImage().
Xlib Reference Manual