the function will scan the media directory and delete images that are not used anymore. This function is to be used when images have been replaced many times.
sanitize_images(x)
rdocx or rpptx object
rdocx
rpptx