sanitize_images function

Remove unused media from a document

Remove unused media from a document

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
  • Maintainer: David Gohel
  • License: MIT + file LICENSE
  • Last published: 2025-03-23

Downloads (last 30 days):