Property | Type | Description | |
---|---|---|---|
IDAT | byte[] | ||
IEND | byte[] | ||
IHDR | byte[] | ||
bytePos | int | ||
bytesPerPixel | int | ||
compressionLevel | int | ||
crc | Crc32 | ||
crcValue | long | ||
encodeAlpha | bool | ||
filter | int | ||
leftBytes | byte[] | ||
pixelData | int[] | ||
pngBytes | byte[] | ||
priorRow | byte[] | ||
width | int |
Method | Description | |
---|---|---|
Encode ( bool encodeAlpha ) : byte[] | ||
PngEncoder ( int pixel_data, int width, int height, bool encodeAlpha, int whichFilter, int compLevel ) : System | ||
pngEncode ( ) : byte[] |
Method | Description | |
---|---|---|
FilterSub ( byte pixels, int startPos, int width ) : void | ||
FilterUp ( byte pixels, int startPos, int width ) : void | ||
ResizeByteArray ( byte array, int newLength ) : byte[] | ||
WriteByte ( int b, int offset ) : int | ||
WriteBytes ( byte data, int offset ) : int | ||
WriteBytes ( byte data, int nBytes, int offset ) : int | ||
WriteImageData ( ) : bool | ||
WriteInt2 ( int n, int offset ) : int | ||
WriteInt4 ( int n, int offset ) : int | ||
writeEnd ( ) : void | ||
writeHeader ( ) : void |
protected FilterSub ( byte pixels, int startPos, int width ) : void | ||
pixels | byte | |
startPos | int | |
width | int | |
return | void |
protected FilterUp ( byte pixels, int startPos, int width ) : void | ||
pixels | byte | |
startPos | int | |
width | int | |
return | void |
public PngEncoder ( int pixel_data, int width, int height, bool encodeAlpha, int whichFilter, int compLevel ) : System | ||
pixel_data | int | |
width | int | |
height | int | |
encodeAlpha | bool | |
whichFilter | int | |
compLevel | int | |
return | System |
protected ResizeByteArray ( byte array, int newLength ) : byte[] | ||
array | byte | |
newLength | int | |
return | byte[] |
protected WriteByte ( int b, int offset ) : int | ||
b | int | |
offset | int | |
return | int |
protected WriteBytes ( byte data, int offset ) : int | ||
data | byte | |
offset | int | |
return | int |
protected WriteBytes ( byte data, int nBytes, int offset ) : int | ||
data | byte | |
nBytes | int | |
offset | int | |
return | int |
protected WriteInt2 ( int n, int offset ) : int | ||
n | int | |
offset | int | |
return | int |
protected WriteInt4 ( int n, int offset ) : int | ||
n | int | |
offset | int | |
return | int |