Hi,
I am trying out bellow possibility with my test app (cef3, linux platform, 64 bit)
1. I have html page with an image tag.
2. Browser or app process generates the RGB pixels (PNG image) dynamically (say 1 image worth of pixels generated for every 33 milliseconds)
3. I want to change the image tag content dynamically by pasting these RGB pixels into image tag.
I read in some posts that, It is possible to update image tag with pasting base64 encoded RGB data into image tag dom, using "CefFrame::ExecuteJavaScript()" method. -- I guess this involves additional base64 encode + memcopy overhead. (example : overhead can be high for high resolution images. Data can be as big as :1280(width) x 720(height) x 4(r,g,b,alpha 1byte data per pixels) per frame)
Is it possible to directly access the dom element (without using javascript) of image tag from C++ and paste/write the image pixel data there?
Or should I be using direct webkit apis to do this? Is there any example where I can have a look.
Thanks a lot in advance.