![]() So it boils down to a pretty simple question: Is there a way for my code to find out whether or not the "Apply only." box is checked, before I use SendKeys? Of another clever trick I can use to make sure that option is unchecked before I send " myshape. But now, if you run the second macro, the dialog comes up with the "Apply box" checked (I assume PowerPoint is trying to help me out by remembering that's what I used last time), and my %a actually checks that box, so I don't get the expected second round of compression. When you run the first macro, if compression has not already been done on this deck, the dialog defaults with the "Apply only" box checked, so the SendKeys unchecks it and it shrinks all images and works fine. tool like Workshare Protect 7 or a compression tool like ZipMail 11. Note that if you discard editing data, you won't be able to restore the image after you edit it. This option removes stored data that's used to restore the image to its original state after it's been edited. But the second macro doesn't shrink the presentation size at all.īy inserting a MsgBox and looking at the state of the Compress Pictures dialog, I was able to figure out why. pptx file in PowerPoint 2010, think-cell elements have lost any. Under Image Size and Quality, do the following: Select Discard editing data. Most users will use the 150, save as, then realize they want to go further, so with the 150 version still open they will run the Compress96 macro and save that. So I wrote an identical macro except it chooses email (%e) resolution. Youll likely end up with smaller file sizes and snappier-performing presentations. Learn how to compress pictures in PowerPoint 2010 for Windows. I realized that some users may not think their file size has been shrunk enough, so they might want to compress again, from 150 down to 96dpi. Compress Pictures in PowerPoint 2010 for Windows. jpg to the current slide, select it, call the dialog, uncheck "Apply only to this picture," set the compression level, and enter to execute. So to make this work under all conditions, my approach is to add a small 300 dpi. Through experimenting, I learned that 1) A shape must be selected before you can invoke the Compress Pictures dialog, 2) The dialog will only present compression options smaller than the select picture, 3) if you un-check "Apply only to this picture" the command will also compress slide background images (which is what I want). ![]() From everything I've read, there is no method for this in VBA so I'm using SendKeys. Each pixel of the RAW photo, contains the most information possible. Search: Compress Media Files In Powerpoint 2010. Using PowerPoint 2010, I'm writing a macro to mimick PowerPoint's "compress pictures" function. Because the image is not compressed, it contains the maximum amount of information. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |