


Then my png files were properly trimmed and their background was transparent.

I worked around this issue by making my slides' background transparent in Google Presentation (select all slides, click the "Background." button, set the color to Transparent). Note: I had trouble with -trim because for some reason my slide's borders were sometimes white and sometimes transparent. For example, the -trim +repage options crop the images to remove the empty space around your content: convert -density 300 -trim +repage your_presentation.pdf your_slide_%03d.png The convert command has many other options you can explore (see the documentation). For example, for 300 dpi images: convert -density 300 your_presentation.pdf your_slide_%03d.png If you would like a higher resolution image, just set the -density option. This will create one png file per slide, named your_slide_000.png, your_slide_001.png, etc. > PDF Document (.pdf)Ĭonvert the pdf to multiple png files using ImageMagick's convert command: convert your_presentation.pdf your_slide_%03d.png Save your presentation to pdf: File > Download as.Install ImageMagick (great open source software).
