ASP.Net server-side image resizing with WPF