Expand description
Manifold: lossless RGB8 shared-patch-atlas image codecs (MNF5/6/7/8).
Entry points:
codec: MNF5 (v0.5 format) encode/decode;codec::DecodeLimits.mnf6: MNF6/7 (zstd container, planar, YCoCg, color modes) โmnf6::encode_mnf7/mnf6::decode_mnf7+ configurable ceilings (mnf6::decode_mnf7_with_limits).mnf8: MNF8 (backend byte: zlib/zstd-19, planar, FLAG_PRED_MED, balanced|maximum profiles) โmnf8::encode_mnf8/mnf8::decode_mnf8.refdecode: independent MNF5 decoder used by the differential tests.error: the shared error/Resulttype for every fallible op.
Decoding is deterministic integer arithmetic (no float, no allocation
beyond the pixel buffer). Formats are frozen at v1.x; malformed input
returns error::Error::Format, never a panic.
Modulesยง
- codec
- MNF5 (v0.5 format): atlas codec, zlib container.
- error
- Shared error and
Resulttypes for the whole library. - img
- Image-I/O shims (JPEG/PNG load, PNG save) โ
image-iofeature. - mnf6
- MNF6/7: zstd container, planar packing, YCoCg + modular color modes.
decode_mnf7accepts both magics. - mnf8
- MNF8: versioned backend-byte container (zlib/zstd-19), profiles,
FLAG_PRED_MED. - refdecode
- Independent MNF5 decoder (differential-testing instrument).