Module encoder

Source
Expand description

Encoding of PNM Images

Structsยง

CheckedDimensions ๐Ÿ”’
CheckedHeader ๐Ÿ”’
CheckedHeaderColor ๐Ÿ”’
CheckedImageBuffer ๐Ÿ”’
Encapsulate the checking system in the type system. Non of the fields are actually accessed but requiring them forces us to validly construct the struct anyways.
PnmEncoder
Encodes images to any of the pnm image formats.
SampleWriter ๐Ÿ”’
UncheckedHeader ๐Ÿ”’

Enumsยง

FlatSamples
HeaderStrategy ๐Ÿ”’
TupleEncoding ๐Ÿ”’