RawImage Visualizer

The RawImage Visualizer sample application demonstrates how to use RawImage APIs for Microsoft Surface applications that use the Microsoft XNA development platform. This sample application displays captured normalized (8 bit per pixel) images that are flipped vertically.

RawImage Visualizer sample application

API Concepts Exposed

This sample application demonstrates how to:

Normalized Images

The RawImage APIs retrieve a normalized image. A normalized image is 8 bits per pixel, and is useful for rendering inside the XNA framework.

Image Rendering

This sample application captures every frame of RawImage, scales the image, and flips the image vertically before it renders the image. The image is flipped vertically so it does not obscure an image from behind a contact.

Did you find this information useful? Please send us your suggestions and comments.

© Microsoft Corporation. All rights reserved.