Skip to content

ZY4N/CPP20-QOI

Repository files navigation

CPP20-QOI

A simple C++20 implementation of the qoi format

Reading

fileInputStream is("input.qoi");
uint8_t* pixels = qoi::decode(is, &width, &height, &channels, &colorspace);
is.close();

Writing

fileOutputStream os("output.qoi");
qoi::encode(os, pixels, width, height, channels);
os.flush();
os.close();

About

A simple C++20 implementation of the qoi format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages