How can I read JPEG EXIF orientation tags in a MS Word macro?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 00:24:52

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!