1

In a Windows Phone 7 app (and maybe 8, not sure), you can use the camera and retrieve the image the user captured. You do this with the ContentReadyEventArgs.ImageStream property.

This gives you a stream which you can convert to an array. In my case, this array consists of negative integers.

I'm trying to found out what these integers represent (so I can manipulate them correctly).

Do they represent RGB values, or ARGB, or something else? Is there any documentation on this?

4

1 回答 1

1

ContentReadyEventArgs.ImageStream包含JPG图片的二进制数据。所以如果你想操纵它,你必须先加载它WriteableBitmap。然后您可以访问每个像素的 ARGB 值。

于 2013-07-12T13:27:44.983 回答