Вопрос

I want to merge two images into one. I read that I should use WriteableBitmapEx library and use blit method. Both of my images are Image type.

So, should I first convert Image type to WriteableBitmap ? Like this:

var im1 = image1.ToImage().ToBitmap(); 
var im2 = image2.ToImage().ToBitmap();

And how can I use method blit now ?

Это было полезно?

Решение

You have to use WriteableBitmapEx library to use the image merge functionality in your application WriteableBitmapEx Library has Blit Method.

Here is an example for the same see the following link

Hope it helps

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top