Свойство | Type | Description | |
---|---|---|---|
IDAT | byte[] | ||
IEND | byte[] | ||
IHDR | byte[] | ||
bytePos | int | ||
bytesPerPixel | int | ||
compressionLevel | int | ||
crc | |||
crcValue | long | ||
encodeAlpha | bool | ||
filter | int | ||
leftBytes | byte[] | ||
pixelData | int[] | ||
pngBytes | byte[] | ||
priorRow | byte[] | ||
width | int |
Méthode | Description | |
---|---|---|
Encode ( bool encodeAlpha ) : byte[] | ||
PngEncoder ( int pixel_data, int width, int height, bool encodeAlpha, int whichFilter, int compLevel ) : System | ||
pngEncode ( ) : byte[] |
Méthode | 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 |
public Encode ( bool encodeAlpha ) : byte[] | ||
encodeAlpha | bool | |
Résultat | byte[] |
protected FilterSub ( byte pixels, int startPos, int width ) : void | ||
pixels | byte | |
startPos | int | |
width | int | |
Résultat | void |
protected FilterUp ( byte pixels, int startPos, int width ) : void | ||
pixels | byte | |
startPos | int | |
width | int | |
Résultat | 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 | |
Résultat | System |
protected ResizeByteArray ( byte array, int newLength ) : byte[] | ||
array | byte | |
newLength | int | |
Résultat | byte[] |
protected WriteByte ( int b, int offset ) : int | ||
b | int | |
offset | int | |
Résultat | int |
protected WriteBytes ( byte data, int offset ) : int | ||
data | byte | |
offset | int | |
Résultat | int |
protected WriteBytes ( byte data, int nBytes, int offset ) : int | ||
data | byte | |
nBytes | int | |
offset | int | |
Résultat | int |
protected WriteInt2 ( int n, int offset ) : int | ||
n | int | |
offset | int | |
Résultat | int |
protected WriteInt4 ( int n, int offset ) : int | ||
n | int | |
offset | int | |
Résultat | int |