Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.use("/image.jpg",express.static(_dirname+"/image.jpg")
- var image=new Image();
- image.onload=function(){rendering to canvas}
- image.src="/image.jpg";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement