C# Class Plupload.PngEncoder.PngEncoder

Afficher le fichier Open project: akoch-ov/dipstart-development Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

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éthodes protégées

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

Method Details

Encode() public méthode

public Encode ( bool encodeAlpha ) : byte[]
encodeAlpha bool
Résultat byte[]

FilterSub() protected méthode

protected FilterSub ( byte pixels, int startPos, int width ) : void
pixels byte
startPos int
width int
Résultat void

FilterUp() protected méthode

protected FilterUp ( byte pixels, int startPos, int width ) : void
pixels byte
startPos int
width int
Résultat void

PngEncoder() public méthode

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

ResizeByteArray() protected méthode

protected ResizeByteArray ( byte array, int newLength ) : byte[]
array byte
newLength int
Résultat byte[]

WriteByte() protected méthode

protected WriteByte ( int b, int offset ) : int
b int
offset int
Résultat int

WriteBytes() protected méthode

protected WriteBytes ( byte data, int offset ) : int
data byte
offset int
Résultat int

WriteBytes() protected méthode

protected WriteBytes ( byte data, int nBytes, int offset ) : int
data byte
nBytes int
offset int
Résultat int

WriteImageData() protected méthode

protected WriteImageData ( ) : bool
Résultat bool

WriteInt2() protected méthode

protected WriteInt2 ( int n, int offset ) : int
n int
offset int
Résultat int

WriteInt4() protected méthode

protected WriteInt4 ( int n, int offset ) : int
n int
offset int
Résultat int

pngEncode() public méthode

public pngEncode ( ) : byte[]
Résultat byte[]

writeEnd() protected méthode

protected writeEnd ( ) : void
Résultat void

writeHeader() protected méthode

protected writeHeader ( ) : void
Résultat void

Property Details

IDAT protected_oe static_oe property

protected static byte[] IDAT
Résultat byte[]

IEND protected_oe static_oe property

protected static byte[] IEND
Résultat byte[]

IHDR protected_oe static_oe property

protected static byte[] IHDR
Résultat byte[]

bytePos protected_oe property

protected int bytePos
Résultat int

bytesPerPixel protected_oe property

protected int bytesPerPixel
Résultat int

compressionLevel protected_oe property

protected int compressionLevel
Résultat int

crc protected_oe property

protected Crc32,Plupload.PngEncoder crc
Résultat Crc32

crcValue protected_oe property

protected long crcValue
Résultat long

encodeAlpha protected_oe property

protected bool encodeAlpha
Résultat bool

filter protected_oe property

protected int filter
Résultat int

leftBytes protected_oe property

protected byte[] leftBytes
Résultat byte[]

pixelData protected_oe property

protected int[] pixelData
Résultat int[]

pngBytes protected_oe property

protected byte[] pngBytes
Résultat byte[]

priorRow protected_oe property

protected byte[] priorRow
Résultat byte[]

width protected_oe property

protected int width
Résultat int