이름부터 킹받아.....
local에 있는 이미지 주소를 넣어줘야하는데 아무래도 blob을 써서 넣어줘야할거같음
const 왜 = URL.createObjectURL(이미지)
;
해서 blob의 data url을 생성해서 넣어봤음
Failed to execute 'createObjectURL' on 'URL': Overload resolution failed.
옦께이
https://stackoverflow.com/questions/27120757/failed-to-execute-createobjecturl-on-url/33759534
URL.createObjectURL(new Blob([new ArrayBuffer(이미지)], { type: 'image/png' }))
이러지만 여전히 안됨 와이???
어디서 잘못됐을까...
(+) window.URL.revokeObjectURL(url)
해야함 메모리누수