Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ readImage
Function
readImage
assets/js/TextExtraction.js:26–34 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
24
}
25
26
function
readImage(file) {
27
const
reader =
new
FileReader();
28
reader.addEventListener(
"load"
, (event) => {
29
img.src = event.target.result;
30
console.log(img);
31
});
32
33
reader.readAsDataURL(file);
34
}
Callers
1
TextExtraction.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected