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.

  1. int XDestroyImage(XImage* ximage)
  2. int XDestroyImage(XImage* ximage)
    version(!XUTIL_DEFINE_FUNCTIONS)
    extern (C) nothrow
    int
    XDestroyImage

Parameters

ximage XImage*

Specifies the image.

See Also

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

Meta