C# Class ImageProcessor.Imaging.Formats.PngFormat

Provides the necessary information to support png images.
Inheritance: FormatBase, IQuantizableImageFormat
ファイルを表示 Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Public Methods

Method Description
Save ( Stream stream, Image image, long bitDepth ) : Image

Saves the current image to the specified output stream.

Save ( string path, Image image, long bitDepth ) : Image

Saves the current image to the specified file path.

Private Methods

Method Description
WuQuantizer ( ) : System.Drawing

Method Details

Save() public method

Saves the current image to the specified output stream.
public Save ( Stream stream, Image image, long bitDepth ) : Image
stream System.IO.Stream /// The to save the image information to. ///
image System.Drawing.Image /// The to save. ///
bitDepth long /// The color depth in number of bits per pixel to save the image with. ///
return System.Drawing.Image

Save() public method

Saves the current image to the specified file path.
public Save ( string path, Image image, long bitDepth ) : Image
path string The path to save the image to.
image System.Drawing.Image /// The to save. ///
bitDepth long /// The color depth in number of bits per pixel to save the image with. ///
return System.Drawing.Image