Skip to content
← Back to Community
Changing to bytes
Profile icon
dfnk

How would I change a image into bytes, with html and javascript?

Voters
Profile icon
RashadAbilov
Profile icon
MANAV0201
Profile icon
dfnk
Comments
hotnewtop
Profile icon
Bookie0

actually i found some sites (really Javascript):
https://stackoverflow.com/questions/9258932/how-to-convert-image-to-byte-array-using-javascript-only-to-store-image-on-sql-s

https://forums.asp.net/t/1726390.aspx?convert+image+to+byte+array+in+javascript

Profile icon
Bookie0
Profile icon
NoelB33

That’s all Java, or c#. None of that is JavaScript. @Bookie0

Profile icon
Bookie0

yea i checked the sites again just a minute ago, and i only realized, but I'll keep it in case they find it kinda useful @NoelB33