0

I read image file as 'File' object in JavaScript, and then converted it to DomString using -

URL.createObjectURL(File)

Now, I needed to convert this DomString represented Image file back to ArrayBuffer. Is there a method to do this in JavaScript?

3
  • Does this answer your question? Converting between strings and ArrayBuffers Commented Apr 8, 2021 at 5:43
  • This seems related to string. I've a requirement for image file. Image -> DomString (URL.createObjectURL) -> File/ArrayBuffer Commented Apr 8, 2021 at 6:09
  • Just store that File at the first step. Commented Apr 8, 2021 at 6:30

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.