Module dimage::png [] [src]

Portable Network Graphics support.

Reexports

pub use self::dec::Decoder;
pub use self::dec::decode;
pub use self::dec::decode_file;
pub use self::enc::Encoder;
pub use self::enc::encode;
pub use self::enc::encode_file;
pub use self::enc::encode_file_with_plte;
pub use self::enc::encode_file_with_plte_trns;
pub use self::enc::encode_file_with_trns;
pub use self::enc::encode_with_plte;
pub use self::enc::encode_with_plte_trns;
pub use self::enc::encode_with_trns;

Modules

dec

PNG decoder.

enc

PNG encoder.

Structs

Chunk

PNG chunk identifier.

Header

PNG header structure.

Enums

ColorType

PNG color space.

CompressionMethod

PNG compression method.

Error

PNG encode/decode error.

FilterMethod

PNG filter method.

FilterRowMethod

Row prefix for PNG filter method 0.

InterlaceMethod

PNG interlace method.

Constants

IDAT

IDAT (pixel data) chunk identifier.

IEND

IEND (file end) chunk identifier.

IHDR

IHDR (file header) chunk identifier.

IHDR_LEN

IHDR chunk length.

MAX_CHUNK_LEN

Maximum chunk length.

PLTE

PLTE (palette) chunk identifier.

SIGNATURE

PNG file signature.

tRNS

tRNS (transparency) chunk identifier.