exif获取图片旋转角度
更新:HHH   时间:2023-1-7


download url : https://github.com/exif-js/exif-js

//获取照片方向角属性,用户旋转控制
EXIF.getData(file, function() { // file input[type=file]的文件
    EXIF.getAllTags(this);

    var orientation = EXIF.getTag(this, 'Orientation');

    console.log(orientation );
});


附件:http://down.51cto.com/data/2367731
返回开发技术教程...