removeImagePromise api - cornerstonejs/cornerstone GitHub Wiki

This function removes the specified image from the image cache.

function removeImagePromise(imageId);

Parameters:

  • imageId - the imageId for the image to remove from the cache