I have a set of files all with 1 slide created with a custom template created with R officer package
Would like to print these individual slides as jpg or png. Current workflow is to print individual pptx files using the inbuilt print function and converting to image outside of R. The process to convert to image using office "Save As" function or a script is cumbersome.
Is there a plan to add this feature?
The package {doconv} can help you.
See https://cran.r-project.org/web/packages/doconv/readme/README.html
Function to_miniature
create an image with your slides. (you will need LibreOffice).
pptx_file <- system.file(package = "doconv", "doc-examples/example.pptx")
to_miniature(pptx_file, width = 1000)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.