문제

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