Encode and Decode Images in WP7