Best way to export powerpoint slides into pngs with different resoltuions?
Solution 1
I just went through this, and PowerPoint is pretty ridiculous in its restrictions on export resolution. However, I skirted around it by exporting to PDF, and from Acrobat exporting to PNG; Acrobat gives you a lot of options for export resolution and this approach worked fine. This allows you to end up with a high-quality PNG of your PowerPoint slide(s).
I'm sure this path would work well with a free tool like GIMP as well, as I believe GIMP understands PDF's.
Solution 2
If you don't mind getting a little VBA under your fingernails, there's some sample code on my PowerPoint FAQ site that explains how to do it:
Export slides as graphics http://www.pptfaq.com/FAQ00022_Export_slides_as_graphics.htm
Minor caveats:
Some versions won't let you export at > 3072 pixels
If you have PowerPoint 2007 w/o service pack 1 at least, the exports will get munged
Some versions of 2007 and, I think, 2010 will give you odd lines at right and top/bottom if you export at over 3000 pixels or so. Stick with 3000 and you should be ok.
Sub ExportMe()
Dim ExportPath As String
Dim Pixwidth As Integer, Pixheight As Integer
Dim oSlide As Slide
' Edit to suit. Set whatever value you like here
Pixwidth = 1024
' Set height proportional to slide height
Pixheight = (Pixwidth * ActivePresentation.PageSetup.Slideheight) / ActivePresentation.PageSetup.Slidewidth
ExportPath = ActivePresentation.Path & "\"
Set oSlide = ActiveWindow.View.Slide
With oSlide
.Export ExportPath & "Slide" & CStr(.SlideIndex) & ".JPG", "JPG", Pixwidth, Pixheight
End With
End Sub
Related videos on Youtube
Henrik
Assistent professor of psychology at the University of Warwick, UK. My primary programming language is R. I am maintainer of R packages afex, MPTinR, and acss. Besides R, I use Python (using PsychoPy) and JavaScript for running experiments and occasionally other languages. A list of my publications can be found on my homepage (usually with possibility to download the papers, data, and analysis scripts).
Updated on September 18, 2022Comments
-
Henrik over 1 year
I am trying to convert powerpoint slides into a png. I know that there are several ways that allow to do this by allowing for changing the resolution (e.g., within powerpoint by changing the registry, or using pdf printers as proposed here and here).
However, always changing the registry is cumbersome and using the pdf printer (bullzip printer and pdfforge) is not working as expected.
Does anyone know of easy, free and reliable way to export powerpoint (2010) slides into png pictures while allowing to easily change the resoltuion?
-
clabacchio about 12 yearsYou can also directly export to pdf...or take a snapshot :)
-
Henrik about 12 years@clabacchio Thanks, but I am specifically interested in exporting as png with specific resolutions.
-
-
Henrik over 10 yearsNice idea. Will definitely give it a try.
-
Kent Pawar over 9 years@Henrik - Did this work for you? If yes, could you mark it as answered.
-
Henrik over 9 years@KentPawar Not really. Sorry.