Encoding Class

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

Provides quantized .gif encoding, adjustable .jpg encoding and 32-bit .png encoding methods

public static class Encoding
Inheritance:
System.Object → Encoding

Methods

SaveGif(Image, Stream) Saves the image in gif form using an OctreeQuantizer.
SaveImg(Image, FileInfo) Saves an image to the specified output file
SaveJpeg(Image, Stream, int) Saves the specified image to the specified stream using jpeg compression of the specified quality.
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