Mar 1, 2012 at 10:28 PM
Edited Mar 1, 2012 at 10:30 PM


I'm trying to add Picture to docx document using Add-OpenXmlPicture 
Add-OpenXmlPicture -PicturePath "CCF20120226_00000.jpg" -Document 'tmp.docx' -InsertionPoint '/w:document/w:body/w:p[last()]'

Problem is that the picture is too big (3436x2409) how I can resize picture using powershell command?
The image must stay in original size I'm interested in changing the resolution in the document.