问题
I have a Word macro that opens all the JPEGs in a particular folder, and inserts them into the document. The problem is the orientation. My macro reads the width vs. length to determine the orientation. But Word inserts the image according to the EXIF orientation tag, and Windows 10 rotates by the EXIF orientation tag. That means I have no real way of controlling the rotation of the image in the document.
How can a Word macro read the EXIF orientation tag of a JPEG?
来源:https://stackoverflow.com/questions/46650664/how-can-i-read-jpeg-exif-orientation-tags-in-a-ms-word-macro