#1
|
|||
|
|||
Extract high resolution slide master background from presentation
See many a post on this, very few good answers. Using PPT 2016 PC. Have an inserted high resolution JPG as a slide master title background. Can I get it extracted in its original high resolution form? Some extract iamges apps get it but its a low res ping. Saw some C# code (below) but dont know how to run C# in the VB editor. SURELY there must eb a way ^)
Dim pptApplication As Application = New Application Dim pptPresentation As Presentation = pptApplication.Presentations.Open("c:\"& vbTab&"emp\"& vbTab&"est.pptx", MsoTriState.msoFalse, MsoTriState.msoFalse, MsoTriState.msoFalse) pptPresentation.Slides(1).Export("c:\"& vbTab&"emp\slide.png", "png", 320, 240) pptPresentation.Slides(1).PublishSlides("c:\"& vbTab&"emp\slide\", true, true) pptPresentation.ExportAsFixedFormat("c:\"& vbTab&"emp\slide\example.pdf", PpFixedFormatType.ppFixedFormatTypePDF, PpFixedFormatIntent.ppFixedFormatIntentScreen) pptPresentation.SaveAs("c:\"& vbTab&"emp\slide\example.html", PpSaveAsFileType.ppSaveAsHTMLDual) pptPresentation.SaveAs("c:\"& vbTab&"emp\slide\exampledual.html", PpSaveAsFileType.ppSaveAsHTMLDual) |
#2
|
|||
|
|||
What makes you think that is C# (It isn't it's VB.Net)?
In any case try this. 1. Make sure you can see the pptx suffix on your file icon. If you can't google for show file extensions in windows and change the settings. Do everything below on a COPY 2. Add .zip to the end so it reads something.pptx.zip Open the zip file and look in the PPT / Media file to see if you can find the image. Even easier Google for 7Zip and install (free) You can right click a pptx and create a new zip archive which you can open in the same way. |
#3
|
|||
|
|||
Hmm. I went with C# because the post I found it in called it C#. I will try these steps and report back. Thanks!
|
#4
|
|||
|
|||
John, I love you. Worked great. Found it!
|
#5
|
|||
|
|||
That's good. For the record neither c# or vb.Net can run in PowerPoint vba editor.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing the Toolbar size with high resolution monitors | Dan Heckman | PowerPoint | 0 | 04-01-2016 08:04 AM |
Powerpoint 13 - placeholders in Slide Master end up in the wrong place when viewing presentation | chisao101 | PowerPoint | 0 | 02-14-2015 02:09 PM |
PowerPoint for web - HIGH resolution while retaining smooth animation and transitions | paulajune | PowerPoint | 0 | 01-19-2014 09:15 PM |
High resolution export | tb189 | PowerPoint | 3 | 04-29-2013 08:41 AM |
How to change just BACKGROUND of master slide in Ppt 2003? | UrbanEast | PowerPoint | 1 | 10-03-2011 09:03 AM |