A
A
Arthur2016-06-25 16:53:43
JavaScript
Arthur, 2016-06-25 16:53:43

How to take a screenshot with JavaScript?

There is img. At the request for src img, the picture changes every time (and every 3 seconds this picture changes), they are always different, I need to take a screenshot of the img without change and put it on the same page. Tried html2canvas - didn't help, it works the same way via image request. I realized that this is kind of impossible. Hence the question arose.
Are there screenshot addons in Chrome that can be called with JS and put the screenshot canvas in the same body, is that even possible?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2016-06-25
@xmoonlight

I need to take a screenshot of the img without modification and put it on the same page
what prevents the onload event from taking a copy of the object and displaying it in another img on the same page?

O
Oleg, 2016-06-25
@politon

html2canvas.hertzen.com/examples.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question