On Wed, Oct 29, 2014 at 7:15 PM, Johannes Odland <johannes.odland@gmail.com> wrote: > Remember that the purpose of the grabFrame() is to be able to both analyse > and manipulate frames in the video feed. > ImageBitmap will not provide direct access to individual pixels. Neither > will converting the ImageBitmap to a blob. I suggest we stay with ImageData. > What if you want manipulate frames using WebGL? Then you really *don't* want to use ImageData since that would require pulling image data into main memory (converting to RGB) even if there's a direct way to copy data from the camera to VRAM. Convenience methods to convert ImageBitmap to Blobs and ImageData are needed, although you can work around them for now using an intermediate canvas. Rob -- oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo owohooo osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o oioso oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo owohooo osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro ooofo otohoeo ofoioroeo ooofo ohoeololo.Received on Wednesday, 29 October 2014 13:11:22 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:31 UTC