Chapter 14. Creating a Photobooth Application with the Silverlight 4 Webcam API

Creating a Photobooth Application with the Silverlight 4 Webcam API
  • The Webcam API

  • Saving images with the PNGEncoder class

  • Drag and drop Behavior

You will also require the following files available in the book's download package:

  • SaveTheImage.txt

  • PngEncoder.zip

With the release of Silverlight 4, it is now easy to incorporate rich content such as webcam video right into your Silverlight applications. Prior to the release of Silverlight 4, doing this was a very difficult task because of the security restrictions in place and wasn't possible at all without circumventing that security via some serious and hacking (bad practice).

With this new API ...

Get Foundation Expression Blend 4 with Silverlight now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.