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)

Arguments

x

rdocx or rpptx object