痛みのない変換はありますか?BitmapFrame変換へのWriteableBitmap
using (MemoryStream ms = new MemoryStream())
{//WriteableBitmap wb defined before
wb.SaveJpeg(ms, (int)image1.Width, (int)image1.Height, 0, 100);
BitmapImage bmp = new BitmapImage();
bmp.SetSource(ms);
}
をしかし、WBがNO SaveJpeg方法があります: は、私は、このサンプルをGoogleで検索しています! とBMPはそのための機能がありますNO SetSource =(