I have been trying to use Blit method like this
Error 5 'System.Windows.Media.Imaging.WriteableBitmap' does not contain a definition for 'Blit' and no extension method 'Blit' accepting a first argument of type 'System.Windows.Media.Imaging.WriteableBitmap' could be found (are you missing a using directive or an assembly reference?)
BitmapImage image1 = new BitmapImage();
BitmapImage image2 = new BitmapImage();
image1 = new BitmapImage(new Uri("/Images/pic1.jpg"));
image2 = new BitmapImage(new Uri("/Images/pic2.jpg"));
WriteableBitmap merge1 = new WriteableBitmap(image1);
WriteableBitmap merge2 = new WriteableBitmap(image2);
var photo = merge1;
var frame = merge2;
var merge = new WriteableBitmap(2048, 1536);
merge.Blit(new Rect(0, 0, 2048, 1536), photo, new Rect(0, 0, photo.PixelWidth, photo.PixelHeight));
merge.Blit(new Rect(0, 0, 2048, 1536), frame, new Rect(0, 0, frame.PixelWidth, frame.PixelHeight));
but im getting error:Error 5 'System.Windows.Media.Imaging.WriteableBitmap' does not contain a definition for 'Blit' and no extension method 'Blit' accepting a first argument of type 'System.Windows.Media.Imaging.WriteableBitmap' could be found (are you missing a using directive or an assembly reference?)