How to compress images in all PowerPoint files in a folder

%3CLINGO-SUB%20id%3D%22lingo-sub-363822%22%20slang%3D%22en-US%22%3EHow%20to%20compress%20images%20in%20all%20PowerPoint%20files%20in%20a%20folder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363822%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20project%20where%20I%20am%20being%20sent%20a%20lot%20of%20slide%20decks%20and%20while%20some%20authors%20create%20a%20very%20compact%20pptx%20others%20are%20adding%20images%20that%20are%20top%20quality%20(300dpi)%20and%20this%20leads%20to%20a%20very%20large%20pptx%20which%20I%20need%20to%20open%2C%20edit%2C%20compress%20images%20and%20re-save.%3C%2FP%3E%3CP%3EI'd%20love%20to%20be%20able%20to%20automate%20this%20from%20PowerShell%20so%20I%20can%20bulk%20process%20all%20files%20in%20a%20directory%20but%20I%20cant%20see%20any%20image%20compression%20method%20in%20the%20PowerPoint%20SMO.%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20advise%20if%20its%20possible%20and%20what%20references%20might%20assist%20me%20please%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

I have a project where I am being sent a lot of slide decks and while some authors create a very compact pptx others are adding images that are top quality (300dpi) and this leads to a very large pptx which I need to open, edit, compress images and re-save.

I'd love to be able to automate this from PowerShell so I can bulk process all files in a directory but I cant see any image compression method in the PowerPoint SMO. 

Can anyone advise if its possible and what references might assist me please?

0 Replies