• Office 2003 Microsoft Picture Manager (SP2)

    Author
    Topic
    #426816

    Is there any way to automate the resizing and exporting of a .jpg image from another office product via vba by adding Microsoft Picture Manager as a programming reference?

    Thank you for any assistance you may be able to offer.

    Viewing 1 reply thread
    Author
    Replies
    • #987377

      I don’t think Picture Manager has an exposed programming interface. Perhaps you can use Microsoft Office Document Imaging – you can set a reference to that. See
      Microsoft Office 2003 Edition Document Imaging VBA Language Reference and
      Using the Microsoft Office Document Imaging 2003 Object Model

    • #987520

      If you are able to download and install a large open source program, ImageMagick has a COM object interface that lets you do amazing things. The COM object actually is a wrapper around the program’s command-line interface; very interesting but initially difficult to figure out as the documentation is sparse. sad

      I have used the ImageMagick control in a PowerPoint VBA project as follows: (1) export slide as PNG, native PowerPoint command; (2) convert PNG to GIF, erasing a pre-selected background color, using the ImageMagick control; repeat. As always when working with unfamiliar COM interfaces, save often to avoid code loss when PowerPoint suddenly closes for no reason!

    Viewing 1 reply thread
    Reply To: Reply #987377 in Office 2003 Microsoft Picture Manager (SP2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel