I'm trying to create a thumbnail using MVC3's WebImage helper.
The original image is a .png with a transparent background. When I try and resize it with the following:
var image = blob.DownloadByteArray();
new WebImage(image)
.Resize(50, 50)
.Write();
The resulting thumbnail replaces the original transparent background with a black background.
You should write you own resize method for gif and png images. I have created extension for Web Image for resizing images. See the code of my method below: