私は WriteableBitmapRenderExtensions を使用しています。以下は、「このストリームの長さを容量を超えて拡張できません」というエラーが発生するコードです。
Render でエラーが発生します。
var bitmap = await WriteableBitmapRenderExtensions.Render(mainImage);
<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>
誰でも私を助けることができますか?