【发布时间】:2019-02-13 22:20:11
【问题描述】:
我正在使用 react-webcam 来捕获图片。我在 Base 64 中获取了捕获的图像。我想将其转换为 Blob
capture = () => {
const imageSrc = this.webcam.getScreenshot();
Blob imageFile = someFunction(imageSrc) // want this code
this.setState({
imgsource: imageFile
});
};
【问题讨论】:
标签: java spring reactjs spring-boot