EXIF (exchangeable image file) is an abbreviation for "Interchangeable image Files", which contains meta-data specifically tailored for the photo of a digital camera, which can record the shooting parameters, thumbnails, and other attributes of digital photos, and simply, Exif information is embedded in jpeg/ A set of shooting parameters within a TIFF image file format, it is important to note that EXIF information is not supported in image formats such as PNG,WEBP. For seven cows, you can add them to the back of the picture. EXIF parameter to get the EXIF information of the picture.
For the Orientation parameter, simply the rotation of the camera that recorded the picture, the browser (which requires browser support) can automatically rotate the picture in the correct direction according to the Val information in this parameter.
eg
Http://7xt44n.com2.z0.glb.qiniucdn.com/exif.png
Http://7xt44n.com2.z0.glb.qiniucdn.com/exif.png?imageMogr2/strip
Http://7xt44n.com2.z0.glb.qiniucdn.com/exif.png?exif
{"ColorSpace": {"Val": "SRGB", "Type": 3}, "Exifversion": {"Val": "Exif Version 2.1", "Type": 7}, "Flashpixversion": {"Val" : "FlashPix Version 1.0", "Type": 7}, "Orientation": {"Val": "Right-top", "Type": 3}, "Pixelxdimension": {"Val": "3264", " Type ": 4}," Pixelydimension ": {" Val ":" 2448 "," Type ": 4}," Resolutionunit ": {" Val ":" Inch "," Type ": 3}," XResolution ": {" Val ":" "", "" Type ": 5}," YResolution ": {" Val ":" $ "," type ": 5}}
By the above we can get the picture shot when the Val information to get the picture taken when the camera's rotation information is right-top information, we can get the camera from the following documents when shooting should be in the counter-clockwise selection of 90 degrees based on the shooting:
Http://sylvana.net/jpegcrop/exif_orientation.html
Http://www.impulseadventure.com/photo/exif-orientation.html
Note that seven KN displays the EXIF information Orientation ": {" Val ":" Right-top "," Type ": 3}, where the type information is negligible, whichever is the value information
Seven cows: About picture the understanding of rotation parameter Orientation in EXIF information