<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def image_destroy(image):
 """Deallocate any resources associated with an image. Wraps the openjp2 library function opj_image_destroy. Parameters image : ImageType pointer Image resource to be disposed. """

    OPENJP2.opj_image_destroy.argtypes = [ctypes.POINTER(ImageType)]
    OPENJP2.opj_image_destroy.restype = ctypes.c_void_p

    OPENJP2.opj_image_destroy(image)