https://github.com/postor/image-base64-rotate
浏览器端生成旋转后的 Base64 图片 | generate rotated image base64 in browser
https://github.com/postor/image-base64-rotate
Last synced: about 1 month ago
JSON representation
浏览器端生成旋转后的 Base64 图片 | generate rotated image base64 in browser
- Host: GitHub
- URL: https://github.com/postor/image-base64-rotate
- Owner: postor
- Created: 2020-07-30T09:41:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T06:00:19.000Z (almost 5 years ago)
- Last Synced: 2025-04-12T20:13:00.692Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# image base64 rotate
浏览器端生成旋转后的 Base64 图片 | generate rotated image base64 in browser
## 使用 | usage
```
import rotate from 'base64-rotate'
...
let rotated = await rotate(img)
console.log(rotate)
// 'data:image/png;base64,/9j/4AAQSkZJRg...'
```