I'm struggling to define height and width of an image we want to include in an email signature with Outlook. Right now, the image loads in an enlarged, blurry state of about 600 pixels wide. The native resolution in the image file is only 450 pixels wide. Can anyone recommend a way to define a 450 by 100 pixel image in an Outlook signature?
To clarify, I understand there is some monkey business in the ppi of the image. The current image has 72 ppi metadata embedded. I believe Outlook prefers 96 ppi to avoid this scaling issue (450*96 = 600*72). I'm hoping to find explicit height/width scale in VBS to avoid the manual setting of 96 ppi metadata in our graphics.
Code:
objSelection.TypeParagraph()
Set objShape = objSelection.InlineShapes.AddPicture("\\10ad01.company.com\NETLOGON\email-signature.png")
objSelection.Hyperlinks.Add objShape,"[URL unfurl="true"]http://www.website.com/"[/URL]
To clarify, I understand there is some monkey business in the ppi of the image. The current image has 72 ppi metadata embedded. I believe Outlook prefers 96 ppi to avoid this scaling issue (450*96 = 600*72). I'm hoping to find explicit height/width scale in VBS to avoid the manual setting of 96 ppi metadata in our graphics.