Tuesday, April 30, 2013

Re: showing byteArray as image in DialogBox

I believe you can set a GWT Image widget with a Base64 representation, like image.setURL("data:image/gif;base64,R0lGODlhUAAPAK,,,"); However I don't see that or Canvas keeping up with a new image every 100ms.

On Monday, April 29, 2013 4:55:12 AM UTC-4, fhei...@gmail.com wrote:

I would like to know how or if it is possible to show a camera image in aGWT DialogBox?! 
There is a running thread, shooting an image every 100 ms. I want the DailogBox to refresh the image everytime. The method that is in charge of showing the image returns a byte array!
I am aware of the "setRGB(..)" Method but I never worked with it. At the moment the Dialogbox showas an image, saved on my disk and shows it by relating to the relative path of it. Is it possible to overwrite this path everxy 100ms so that I have only 1 image file saved at the same time that is shown in the dialog box? 

educated guesses and help much apprecciated!

Thanks a lot

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment