我将图片上传至七牛,后根据图片的宽高进行显示,发现图片的宽高颠倒了?仅有少量图片有此情况,大部分都是正常的,为什么
phpcn_u15822017-04-25 09:05:57
Now it is found that when reading the image?imageInfo, "format":"jpeg","width":3264,"height":2448,"colorModel":"ycbcr","orientation":"Right-top" When the direction is Right-top, the width and height of the image are reversed
PHP中文网2017-04-25 09:05:57
Your picture is processed by the browser, which means that there are rotation parameters when the picture is taken, and the browser automatically adjusts it. Therefore, the width and height of the picture do not match when you view it. It is recommended that you refer to the documentation
http ://kb.qiniu.com/5vw40ah8