W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] Using <video> as a source for canvas.drawImage

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 19 Aug 2008 09:45:11 +1200
Message-ID: <11e306600808181445n7fdc1079rc453294497165096@mail.gmail.com>
Thanks to Anne for pointing this out...

We've implemented using <video> elements as an image source in
canvas.drawImage:
https://bugzilla.mozilla.org/show_bug.cgi?id=448674
The extension is very obvious. Unlike animated images, which always draw the
first or poster frame, we draw the current frame of the video. This lets you
do things like make a thumbnail timeline.

It'd be nice to have this in the spec.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080819/035fdd93/attachment.htm>
Received on Monday, 18 August 2008 14:45:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC