Closes an image and frees its resources. Once an image is closed it cannot be used anymore.
Resource identifier of the postscript file as returned by ps_new.
Resource identifier of the image as returned by ps_open_image or ps_open_image_file.
Returns null on success or false on failure.