Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including lrz-eroad with all npm packages installed. Try it out:

var lrzEroad = require("lrz-eroad")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

lrz-eroad v1.2.0

经过测试,发现安卓手机会对照片进行处理无论怎么拍,得到的 Orientation 都为 1,照片为正方向。而 iOS12 及以下拍摄的照片的 Orientation 会正确记录拍摄时的方向,如不经过旋转直接在 canvas 上绘制图片会产生翻转。而 iOS13 及以上直接绘制图片到 canvas 并不会得到翻转的图片

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free