Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
Encode ( bool encodeAlpha ) : byte[] | ||
PngEncoder ( int pixel_data, int width, int height, bool encodeAlpha, int whichFilter, int compLevel ) : System | ||
pngEncode ( ) : byte[] |
Метод | Описание | |
---|---|---|
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 |
public Encode ( bool encodeAlpha ) : byte[] | ||
encodeAlpha | bool | |
Результат | byte[] |
protected FilterSub ( byte pixels, int startPos, int width ) : void | ||
pixels | byte | |
startPos | int | |
width | int | |
Результат | void |
protected FilterUp ( byte pixels, int startPos, int width ) : void | ||
pixels | byte | |
startPos | int | |
width | int | |
Результат | 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 | |
Результат | System |
protected ResizeByteArray ( byte array, int newLength ) : byte[] | ||
array | byte | |
newLength | int | |
Результат | byte[] |
protected WriteByte ( int b, int offset ) : int | ||
b | int | |
offset | int | |
Результат | int |
protected WriteBytes ( byte data, int offset ) : int | ||
data | byte | |
offset | int | |
Результат | int |
protected WriteBytes ( byte data, int nBytes, int offset ) : int | ||
data | byte | |
nBytes | int | |
offset | int | |
Результат | int |
protected WriteInt2 ( int n, int offset ) : int | ||
n | int | |
offset | int | |
Результат | int |
protected WriteInt4 ( int n, int offset ) : int | ||
n | int | |
offset | int | |
Результат | int |