Domanda

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 ?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top