clear-image-cache

clear-image-cache is a built-in function in `C source code'.

(clear-image-cache &optional FILTER)

Clear the image cache.
FILTER nil or a frame means clear all images in the selected frame.
FILTER t means clear the image caches of all frames.
Anything else, means only clear those images which refer to FILTER,
which is then usually a filename.