C# Class PocketCampus.Main.PngWriter

WriteableBitmap Extensions for PNG Writing
Afficher le fichier Open project: accandme/pocketcampus

Méthodes publiques

Méthode Description
PngWriter ( Stream stream, System.Windows.Media.Imaging.WriteableBitmap bitmap ) : System
Write ( ) : void

Write and PNG file out to a file stream. Currently compression is not supported.

Private Methods

Méthode Description
WriteChunk ( string type, byte data ) : void
WriteChunk ( string type, byte data, int offset, int length ) : void
WriteDataChunksUncompressed ( ) : void
WriteEndChunk ( ) : void
WriteGammaChunk ( ) : void
WriteHeaderChunk ( System.Windows.Media.Imaging.PngHeader header ) : void
WriteInteger ( Stream stream, int value ) : void
WriteInteger ( Stream stream, uint value ) : void
WriteInteger ( byte data, int offset, int value ) : void
WritePhysicsChunk ( ) : void

Method Details

PngWriter() public méthode

public PngWriter ( Stream stream, System.Windows.Media.Imaging.WriteableBitmap bitmap ) : System
stream Stream
bitmap System.Windows.Media.Imaging.WriteableBitmap
Résultat System

Write() public méthode

Write and PNG file out to a file stream. Currently compression is not supported.
public Write ( ) : void
Résultat void