sanitize_images: Remove unused media from a document

View source: R/docx_replace.R

sanitize_imagesR Documentation

Remove unused media from a document

Description

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.

Usage

sanitize_images(x)

Arguments

x

rdocx or rpptx object


officer documentation built on Oct. 10, 2024, 1:06 a.m.