Which JavaScript function should you use?

You develop a webpage that allows a user to download a 3PEG image and convert it to a
PNG file.
You need to implement the code to download the contents of the JPEG image with no
additional decoding.
Which JavaScript function should you use?

You develop a webpage that allows a user to download a 3PEG image and convert it to a
PNG file.
You need to implement the code to download the contents of the JPEG image with no
additional decoding.
Which JavaScript function should you use?

A.
readAsBinaryString()

B.
readAsArrayBuffer()

C.
readAsDataURL()

D.
readAsText()

Explanation:



Leave a Reply to Juro Cancel reply1

Your email address will not be published. Required fields are marked *

18 + one =