Image module

encode_ppm

procedure · 1 overloadsince 0.28.0Source

Encodes as binary PPM (P6), or PGM (P5) for gray; alpha is dropped.

encode_ppm :: (image: Image) -> [] u8

Encodes as binary PPM (P6), or PGM (P5) for gray; alpha is dropped.

Parameters

image: Image

Returns

[] u8

See also