C# 클래스 ToolStackPNGWriterLib.PngHeader

파일 보기 프로젝트 열기: Catrobat/CatrobatForWindows 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BitDepth byte
ColorType byte
CompressionMethod byte
FilterMethod byte
Height int
InterlaceMethod byte
Width int

프로퍼티 상세

BitDepth 공개적으로 프로퍼티

Bit depth is a single-byte integer giving the number of bits per sample or per palette index (not per pixel). Valid values are 1, 2, 4, 8, and 16, although not all values are allowed for all color types.
public byte BitDepth
리턴 byte

ColorType 공개적으로 프로퍼티

Color type is a integer that describes the interpretation of the image data. Color type codes represent sums of the following values: 1 (palette used), 2 (color used), and 4 (alpha channel used).
public byte ColorType
리턴 byte

CompressionMethod 공개적으로 프로퍼티

Indicates the method used to compress the image data. At present, only compression method 0 (deflate/inflate compression with a sliding window of at most 32768 bytes) is defined.
public byte CompressionMethod
리턴 byte

FilterMethod 공개적으로 프로퍼티

Indicates the preprocessing method applied to the image data before compression. At present, only filter method 0 (adaptive filtering with five basic filter types) is defined.
public byte FilterMethod
리턴 byte

Height 공개적으로 프로퍼티

The dimension in y-direction of the image in pixels.
public int Height
리턴 int

InterlaceMethod 공개적으로 프로퍼티

Indicates the transmission order of the image data. Two values are currently defined: 0 (no interlace) or 1 (Adam7 interlace).
public byte InterlaceMethod
리턴 byte

Width 공개적으로 프로퍼티

The dimension in x-direction of the image in pixels.
public int Width
리턴 int