I am having an XML file generated dynamically (using ruby) and I'm simply having an issue with image sizing. A few people online have mentioned that they're set based on the pixel dimensions of the image. I'm not finding this to be the case.
Here's one link in particular that I was looking at: http://openxmldeveloper.org/discussions/formats/f/15/p/396/933.aspx.
The reason I know this may not be 100% the case is because I basically opened a word document, inserted 2 screenshots, and I compared the output of the 9525 (PMU) * every pixel and got different values.
If I take a look at image1 for example, it's 802x164, and image2 is 722x503. The wp:content and a:ext values that were generated (in respective order) are:
<wp:extent cx="5153025" cy="1053736"/><a:ext cx="5153025" cy="1053736"/>
<wp:extent cx="5553075" cy="3868694"/><a:ext cx="5553075" cy="3868694"/>
So 802 * 9525 = 7639050 and this doesn't exist anywhere in that XML output.
My goal here is to make sure that the images I'm referencing from XML are properly sized. I would like the size of the image in the word doc to be the exact size of the image itself.
Any help would be GREATLY appreciated. I've been looking around for hours and still coming up empty.