Link Details

Link 779327 thumbnail
User 937563 avatar

By johnesposito
via css.dzone.com
Published: Apr 19 2012 / 09:23

Recently I came across the function drawImage, which can be used to draw an Image or Video on a HTML5 Canvas. Once an image is drawn on the Canvas, its base64 encoded data can be obtained by calling the toDataURL function on the Canvas object. This data can then be transferred over a ColdFusion WebSocket to all subscribers, who can then use this data to draw the image (video frame) on a Canvas.
  • 4
  • 0
  • 1816
  • 245

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (4)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java