R/pptxutils.r
convert_pptx_pdfs.Rd
PowerPoint 2010 et al will convert any PDFs that have been dropped onto slides into bitmap PNGs. Unfortunately they do this at 72 dpi, which is typically much too low resolution. This function makes higher resolution versions of the PNGs Note that it will not upgrade PNGs that already meet the requested resolution. If this means that no images at all are upgraded then the output file will be identical to the input.
convert_pptx_pdfs(x, outpptx = NULL, pngres = 450, ...)
x | A PowerPoint pptx file or an expanded directory. |
---|---|
outpptx | Path to output pptx file (default "inputfilestem_fixed.pptx") |
pngres | The resolution of the new png file |
... | Additional arguments passed to |
This function depends on having the ImageMagick convert function in the path.