Pregunta

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 ?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top