image util to handle take picture
-
Updated
Apr 9, 2020 - JavaScript
image util to handle take picture
将本地或web图片压缩并转为base64链接
Transform an image input to a Base64 string.
Converts files from file input into base64 encoded models.
Converts an image to Base64. You could pass a maximum size of an image in megabytes, and an array of valid extensions. This package has no external dependency packages.
Add a description, image, and links to the image-to-base64 topic page so that developers can more easily learn about it.
To associate your repository with the image-to-base64 topic, visit your repo's landing page and select "manage topics."