MIR.l2r_ioΒΆ

L2R image format reader/writer with lightweight compression.

This format stores a small header plus a zlib-compressed payload. Data is optionally permuted before compression to add light obfuscation.

Functions

read_l2r(path)

Read an L2R image file written by write_l2r().

write_l2r(path, data[, spacing, perm, ...])

Write an array to an L2R image file.