It's not really a converter nor an extension method. It's actually a rendering of the vector UIElement to WriteableBitmap.
And it's adds not much functionality to the lib. The method would only be:
public static void FromUIElement(this WriteableBitmap bmp, UIElement elem)
bmp = new WriteableBitmap(elem, null);
public static WriteableBitmap ToWriteableBitmap(this UIElement elem)
return new WriteableBitmap(elem, null);
var wb = new WriteableBitmap(myImage, null);
you could write:
var wb = myImage.ToWriteableBitmap();
var wb = new WriteableBitmap(w, h);
Is this realy that better? And the ToWriteableBitmap() method would actually be an extension to the UIElement. Sorry, but I have to draw a line somewhere.