Encoding.SavePng Method

Namespace:
Weavy.Core.Imaging
Assembly:
Weavy.Core.dll

SavePng(Image, Stream)

Saves the image in png form. If Stream 'target' is not seekable, a temporary MemoryStream will be used to buffer the image data into the stream

public static void SavePng(this Image img, Stream target)

Parameters

img
System.Drawing.Image
target
System.IO.Stream