0
如何使用Windows Phone 7中的图像工具将图像流或位图图像转换为png?如何将位图图像转换为Windows Phone 7中的png?
如何使用Windows Phone 7中的图像工具将图像流或位图图像转换为png?如何将位图图像转换为Windows Phone 7中的png?
由于您使用的是ImageTools,这是可以做到这样的:
ExtendedImage image = new ExtendedImage();
image.SetSource(imageStream);
ImageTools.IO.Png.PngEncoder enc = new PngEncoder();
enc.Encode(image, resultStream);
哪里imageStream
是位图流和resultStream
是PNG导致流。
透明度怎么样? – 2014-01-08 09:11:41