C# Class Emotion.Standard.Image.PNG.PngFileHeader

Afficher le fichier Open project: Cryru/Emotion Class Usage Examples

Méthodes publiques

Свойство Type Description
BitDepth byte
ColorType byte
CompressionMethod byte
FilterMethod byte
InterlaceMethod byte
PixelFormat PixelFormat
Size Vector2

Property Details

BitDepth public_oe property

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
Résultat byte

ColorType public_oe property

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
Résultat byte

CompressionMethod public_oe property

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
Résultat byte

FilterMethod public_oe property

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
Résultat byte

InterlaceMethod public_oe property

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

PixelFormat public_oe property

The byte format of the pixels.
public PixelFormat PixelFormat
Résultat PixelFormat

Size public_oe property

The bitmap width in pixels (signed integer).
public Vector2 Size
Résultat Vector2