프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
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 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 |