C# Class PNGMask.PNG

Exibir arquivo Open project: AlphaDelta/PNG-Mask Class Usage Examples

Public Properties

Property Type Description
Chunks List
Width uint

Public Methods

Method Description
CRC32 ( byte stream, int offset, int length, uint crc, uint &crcTable ) : uint
PNG ( Stream data ) : System
PNG ( string file ) : System
ProcessStream ( Stream data ) : void
RemoveNonCritical ( ) : void
WriteToFile ( string path ) : void
WriteToStream ( Stream s, bool standardonly = false, bool critonly = false ) : void

Private Methods

Method Description
ReadData ( Stream data, byte &buffer ) : void
SwapEndianness ( byte &data ) : void
WriteData ( Stream data, byte buffer ) : void

Method Details

CRC32() public static method

public static CRC32 ( byte stream, int offset, int length, uint crc, uint &crcTable ) : uint
stream byte
offset int
length int
crc uint
crcTable uint
return uint

PNG() public method

public PNG ( Stream data ) : System
data Stream
return System

PNG() public method

public PNG ( string file ) : System
file string
return System

ProcessStream() public method

public ProcessStream ( Stream data ) : void
data Stream
return void

RemoveNonCritical() public method

public RemoveNonCritical ( ) : void
return void

WriteToFile() public method

public WriteToFile ( string path ) : void
path string
return void

WriteToStream() public method

public WriteToStream ( Stream s, bool standardonly = false, bool critonly = false ) : void
s Stream
standardonly bool
critonly bool
return void

Property Details

Chunks public_oe property

public List Chunks
return List

Width public_oe property

public uint Width
return uint