René Schulte haspublished some ready to use code for JPEG encoding and decoding of the WriteableBitmap.
In the comments of my Silverlight 4 EdgeCam Shots blog post "marcb" asked me how to convert the WriteableBitmap to a byte array to save the snapshot in a database. I thought the answer might be also useful for others.