ching
ching

Reputation: 87

How to merge two images in windows phone 8

I have two images:

Image frame = new Image();
Image inner = new Image();

frame.Source = new BitmapImage(new Uri("Assets/Frame.png", UriKind.Relative));
inner.Source = new BitmapImage(new Uri("Assets/Inner.png", UriKind.Relative));

I want to merge two images, the inner image at center of the frame.

I couldn't find a Windows Phone-specific solution. How can I do that? thanks

Upvotes: 1

Views: 1001

Answers (1)

Olivier Payen
Olivier Payen

Reputation: 15268

The WriteableBitmapEx library has a Blit method that does that.

Upvotes: 1

Related Questions