levy.lat
This is a draft

qoiz

A library for encoding and decoding QOI images in Zig.

const qoiz = @import("qoiz");

test "image init reader" {
    const file = try fs.cwd().openFile("image.qoi", .{});
    defer file.close();

    const image = try qoiz.Image(.rgba).initReader(
        testing.allocator,
        file.reader(),
    );
    defer image.deinit();
}

Demo running with WebAssembly:

loading...