Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Google presentation with many slides. I tried FileDownload As → SVG or PNG, but only the first slide was converted. Is there a way to automatically convert all slides to images?

share|improve this question
up vote 5 down vote accepted

If you have access to MS PowerPoint, one option is to save the Docs presentation as a .ppt, and then use the Save As option from PowerPoint which does have "all slides" option.

share|improve this answer
    
That's just what I actually did – Erel Segal-Halevi Jun 30 '13 at 16:41

No need to download any additional software if you have Adobe Acrobat, simply...

  1. Save your presentation to pdf: File > Download as > PDF Document (.pdf)
  2. Open the PDF in Acrobat and then: File > Export To > Image > (Choose prefered file format)

It will automatically start creating each slide as its own image inside the directory you have the PDF saved in.

share|improve this answer
  1. Install ImageMagick (great open source software)
  2. Save your presentation to pdf: File > Download as... > PDF Document (.pdf)
  3. Convert the pdf to multiple png files using ImageMagick's convert command:

    convert your_presentation.pdf your_slide_%03d.png
    

Done! :)

This will create one png file per slide, named your_slide_000.png, your_slide_001.png, etc.

If you would like a higher resolution image, just set the -density option. For example, for 300 dpi images:

    convert -density 300 your_presentation.pdf your_slide_%03d.png

The convert command has many other options you can explore (see the documentation). 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

Note: I had trouble with -trim because for some reason my slide's borders were sometimes white and sometimes 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). Then my png files were properly trimmed and their background was transparent. If you don't want a transparent background in your png files, you can add -background '#ff0000' -alpha remove just after the -trim +repage option. This will make the background bright red, just replace the color (#ff0000) to any color you like. Another option is to first remove transparency as above, then trim. It works too.

Hope this helps!

share|improve this answer

Unfortunately, one at a time is best, as the conversion to PowerPoint re-positions elements. Don't get a surprise!

Ctrl+FD (FileDownload) will make it go a little faster!

share|improve this answer

I am very unsure whether I am allowed to give a programming-related answer on this website. I'll just give you my code anyways since this is a fast way to do it (for those who do not have Microsoft Powerpoint).

  1. Download iMacros extension for FireFox.
  2. Go to your Google Slide.
  3. Open iMacros and on the menu just press Record then press Stop immediately.
  4. Right click #Current.iim and click Edit.
  5. Copy and paste the following code.

    ' This is the code for downloading lots of slides.
    ' The delay is just in case Firefox is too slow to keep up
    WAIT SECONDS=0.2
    ' These lines are where it goes to file -> download -> PNG
    EVENT TYPE=CLICK SELECTOR="#docs-file-menu" BUTTON=0
    EVENT TYPE=CLICK SELECTOR="#\\:7r>DIV>SPAN" BUTTON=0
    EVENT TYPE=CLICK SELECTOR="#\\:2dm>DIV>SPAN" BUTTON=0
    WAIT SECONDS=0.2
    ' This is the menu command for telling the script to go to next slide.
    EVENT TYPE=CLICK SELECTOR="#punch-slide-menu" BUTTON=0
    EVENT TYPE=CLICK SELECTOR="#\\:9p>DIV" BUTTON=0
    WAIT SECONDS=0.2
    ' end of macro loop
    
  6. After you have copied and pasted the code, save the macro.

  7. Now manually download the first slide because that way anything you download onwards will now give it a file-name followed by a number with () brackets between. It helps for labeling the slide number on each file.
  8. Select a slide (preferably the first slide).
  9. Just right above the Play (Loop) button you will see a max number to set it at. Set it at whatever you want (the total number of slides in your presentation).
  10. Run the script.

Notes: This script is designed to download each slide from the beginning of the powerpoint. You must configure Firefox to automatically select a destination for download (or else the prompt box interferes with the script).

share|improve this answer
    
Why can't I format code on this site lol? – puretppc Jul 15 at 4:56
    
Because the code is embedded in a list, you need to indent it a bit more. – Al E. Jul 15 at 16:39

From what I’ve found using Google Slides: if you click File then Download as PNG, they’ll download it as a photo. But you’ll have to do this for each slide.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.