1
아래 코드를 사용하여 이미지에 텍스트를 쓰고 있습니다. 하지만 저장할 수는 없습니다. 새 이미지를 변경하거나 기존 이미지를 덮어 쓸 수있는 방법이 있습니까?C# .net을 사용하여 windows phone에서 새 이미지에 writeablebitmap을 저장하는 방법?
BitmapImage img = new BitmapImage(new Uri(@"\DefaultImage.jpg", UriKind.Relative));
img.CreateOptions = BitmapCreateOptions.None;
img.ImageOpened += (s, e) =>
{
WriteableBitmap wbitmap = new WriteableBitmap((BitmapImage)s);
TextBlock textBlock = new TextBlock();
textBlock.Text = stringToRender;
wbitmap.Render(textBlock, null);
wbitmap.Invalidate();
};