Thursday, 5 September 2013

WriteableBitmapRenderExtensions.Render Unable to expand length of this stream beyond its capacity

WriteableBitmapRenderExtensions.Render Unable to expand length of this
stream beyond its capacity

i am using WriteableBitmapRenderExtensions and below is my code where i am
getting error that "Unable to expand length of this stream beyond its
capacity".
var bitmap = await WriteableBitmapRenderExtensions.Render(mainImage);
this.Frame.Navigate(typeof(FinalImage), bitmap);
<Grid Name="mainImage">
<Image Name="frameImage"
Source="Image/u117_normal.png"
Stretch="Fill"></Image>
<Image Name="userImage"
Source="Image/u66_normal.png"
Width="700"
Height="500"></Image>
<Canvas>
<Image Name="AddonImage"
Source="Image/u103_normal.png"
Width="100"
Height="100"></Image>
</Canvas>
</Grid>
can anyone help me for this ?

No comments:

Post a Comment